diff --git a/django_ckeditor_5/package-lock.json b/django_ckeditor_5/package-lock.json index 48a3c74..867ea7d 100644 --- a/django_ckeditor_5/package-lock.json +++ b/django_ckeditor_5/package-lock.json @@ -35,6 +35,7 @@ "@ckeditor/ckeditor5-paste-from-office": "^41.3.1", "@ckeditor/ckeditor5-remove-format": "^41.3.1", "@ckeditor/ckeditor5-source-editing": "^41.3.1", + "@ckeditor/ckeditor5-special-characters": "^41.3.1", "@ckeditor/ckeditor5-style": "^41.3.1", "@ckeditor/ckeditor5-table": "^41.3.1", "@ckeditor/ckeditor5-theme-lark": "^41.3.1", @@ -864,6 +865,14 @@ "ckeditor5": "41.3.1" } }, + "node_modules/@ckeditor/ckeditor5-special-characters": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-special-characters/-/ckeditor5-special-characters-41.3.1.tgz", + "integrity": "sha512-rhknRzXTzq70IjN7KG+OghUNdIIUJbjDtEWw0+LKdTXx4epuAA7+SsGc/NTA+aQrtN2w08QT5zFVMkrAGzdhRA==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, "node_modules/@ckeditor/ckeditor5-style": { "version": "41.3.1", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-style/-/ckeditor5-style-41.3.1.tgz", diff --git a/django_ckeditor_5/package.json b/django_ckeditor_5/package.json index f464b90..5e2a0f1 100644 --- a/django_ckeditor_5/package.json +++ b/django_ckeditor_5/package.json @@ -37,6 +37,7 @@ "@ckeditor/ckeditor5-paste-from-office": "^41.3.1", "@ckeditor/ckeditor5-remove-format": "^41.3.1", "@ckeditor/ckeditor5-source-editing": "^41.3.1", + "@ckeditor/ckeditor5-special-characters": "^41.3.1", "@ckeditor/ckeditor5-style": "^41.3.1", "@ckeditor/ckeditor5-table": "^41.3.1", "@ckeditor/ckeditor5-theme-lark": "^41.3.1", diff --git a/django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js b/django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js index 4a5bb1d..2c4603b 100644 --- a/django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js +++ b/django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js @@ -46,6 +46,8 @@ import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line'; import {LinkImage} from "@ckeditor/ckeditor5-link"; import {HtmlEmbed} from "@ckeditor/ckeditor5-html-embed"; import { FullPage } from '@ckeditor/ckeditor5-html-support'; +import { SpecialCharacters } from '@ckeditor/ckeditor5-special-characters'; +import { SpecialCharactersEssentials } from '@ckeditor/ckeditor5-special-characters'; export default class ClassicEditor extends ClassicEditorBase { } @@ -96,5 +98,7 @@ ClassicEditor.builtinPlugins = [ HorizontalLine, LinkImage, HtmlEmbed, - FullPage + FullPage, + SpecialCharacters, + SpecialCharactersEssentials, ]; diff --git a/example/blog/blog/settings.py b/example/blog/blog/settings.py index 81b143b..cadaae1 100644 --- a/example/blog/blog/settings.py +++ b/example/blog/blog/settings.py @@ -209,6 +209,7 @@ "insertTable", "sourceEditing", "style", + "specialCharacters", ], "shouldNotGroupWhenFull": True, },