Skip to content

Commit

Permalink
refactor(app): Remove licenseKey property
Browse files Browse the repository at this point in the history
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: ckeditor/ckeditor5#13906
  • Loading branch information
mmichaelis committed Apr 18, 2023
1 parent 7d1c90b commit e7275fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/ckeditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -155,7 +155,6 @@ const linkAttributesConfig: LinkAttributesConfig = getHashParam("skipLinkAttribu
};

ClassicEditor.create(sourceElement, {
licenseKey: "",
placeholder: "Type your text here...",
plugins: [
...imagePlugins,
Expand Down Expand Up @@ -347,6 +346,7 @@ ClassicEditor.create(sourceElement, {
});
},
},
// @ts-expect-error - TODO[cke] Fix Typings
[COREMEDIA_RICHTEXT_CONFIG_KEY]: {
// Defaults to: Loose
strictness: Strictness.STRICT,
Expand Down

0 comments on commit e7275fa

Please sign in to comment.