From e7275fa0c277878809324734480780d7f9de87fa Mon Sep 17 00:00:00 2001 From: Mark Michaelis Date: Tue, 18 Apr 2023 14:19:54 +0200 Subject: [PATCH] refactor(app): Remove `licenseKey` property This is not a required property (it possibly once was for first typings from DefinitelyTyped). And: The property is currently not available in typings from CKEditor: ckeditor/ckeditor5#13906 See-also: https://github.com/ckeditor/ckeditor5/issues/13906 --- app/src/ckeditor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/ckeditor.ts b/app/src/ckeditor.ts index 63964d6215..db370a8bbe 100644 --- a/app/src/ckeditor.ts +++ b/app/src/ckeditor.ts @@ -44,7 +44,7 @@ import CoreMediaStudioEssentials, { import { initInputExampleContent } from "./inputExampleContents"; import { COREMEDIA_MOCK_CONTENT_PLUGIN } from "@coremedia/ckeditor5-coremedia-studio-integration-mock/content/MockContentPlugin"; -import { Command, DataApi, Editor, icons, PluginConstructor } from "@ckeditor/ckeditor5-core"; +import { Command, Editor, icons, PluginConstructor } from "@ckeditor/ckeditor5-core"; import { saveData } from "./dataFacade"; import MockInputExamplePlugin from "@coremedia/ckeditor5-coremedia-studio-integration-mock/content/MockInputExamplePlugin"; import PasteContentPlugin from "@coremedia/ckeditor5-coremedia-content-clipboard/paste/PasteContentPlugin"; @@ -155,7 +155,6 @@ const linkAttributesConfig: LinkAttributesConfig = getHashParam("skipLinkAttribu }; ClassicEditor.create(sourceElement, { - licenseKey: "", placeholder: "Type your text here...", plugins: [ ...imagePlugins, @@ -347,6 +346,7 @@ ClassicEditor.create(sourceElement, { }); }, }, + // @ts-expect-error - TODO[cke] Fix Typings [COREMEDIA_RICHTEXT_CONFIG_KEY]: { // Defaults to: Loose strictness: Strictness.STRICT,