diff --git a/.changes/unreleased/Feature-20250523-133341.yaml b/.changes/unreleased/Feature-20250523-133341.yaml new file mode 100644 index 000000000..1a5513a0d --- /dev/null +++ b/.changes/unreleased/Feature-20250523-133341.yaml @@ -0,0 +1,6 @@ +kind: Feature +body: Add Emoji and Fullscreen feature to ckeditor configuration +time: 2025-05-23T13:33:41.645095128+02:00 +custom: + Issue: "" + SchemaChange: No schema change diff --git a/src/Bundle/ChillMainBundle/Resources/public/module/ckeditor5/editor_config.ts b/src/Bundle/ChillMainBundle/Resources/public/module/ckeditor5/editor_config.ts index cddb5707f..a396da295 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/module/ckeditor5/editor_config.ts +++ b/src/Bundle/ChillMainBundle/Resources/public/module/ckeditor5/editor_config.ts @@ -8,6 +8,9 @@ import { Heading, Link, List, + Emoji, + Mention, + Fullscreen, } from "ckeditor5"; import coreTranslations from "ckeditor5/translations/fr.js"; @@ -26,6 +29,11 @@ export default { Link, List, Paragraph, + // both Emoji and Mention are required for Emoji feature + Emoji, + Mention, + // to enable fullscreen + Fullscreen, ], toolbar: { items: [ @@ -37,8 +45,13 @@ export default { "bulletedList", "numberedList", "blockQuote", + "|", + "emoji", + "|", "undo", "redo", + "|", + "fullscreen", ], }, translations: [coreTranslations],