Skip to content

Commit

Permalink
Add support for Special characters (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
hvlads committed Apr 21, 2024
1 parent ddb1fde commit 43996b9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions django_ckeditor_5/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions django_ckeditor_5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 5 additions & 1 deletion django_ckeditor_5/static/django_ckeditor_5/src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
Expand Down Expand Up @@ -96,5 +98,7 @@ ClassicEditor.builtinPlugins = [
HorizontalLine,
LinkImage,
HtmlEmbed,
FullPage
FullPage,
SpecialCharacters,
SpecialCharactersEssentials,
];
1 change: 1 addition & 0 deletions example/blog/blog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
"insertTable",
"sourceEditing",
"style",
"specialCharacters"
],
"shouldNotGroupWhenFull": True,
},
Expand Down

0 comments on commit 43996b9

Please sign in to comment.