From 1a2be66e4739e663a87911353229b76fbeaf98b9 Mon Sep 17 00:00:00 2001 From: Mateusz Baginski Date: Mon, 12 Aug 2024 16:02:10 +0200 Subject: [PATCH] Adjust type --- src/context/setCKEditorReactContextMetadata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/setCKEditorReactContextMetadata.ts b/src/context/setCKEditorReactContextMetadata.ts index a8bee5c7..00ba6dea 100644 --- a/src/context/setCKEditorReactContextMetadata.ts +++ b/src/context/setCKEditorReactContextMetadata.ts @@ -45,7 +45,7 @@ export type CKEditorConfigContextMetadata = { * The name of the editor in the React context. It'll be later used in the `useInitializedCKEditorsMap` hook * to track the editor initialization and destruction events. */ - name: string; + name?: string; /** * Any additional metadata that can be stored in the context.