Use ckeditors emoji picker instead of our own plugin

This commit is contained in:
Jan Böhmer 2025-08-03 20:22:00 +02:00
parent e87720a838
commit db1b91fc32
7 changed files with 19 additions and 26 deletions

View file

@ -27,10 +27,11 @@ import {Subscript} from 'ckeditor5';
import {Superscript} from 'ckeditor5';
import {Underline} from 'ckeditor5';
import {EditorWatchdog} from 'ckeditor5';
import {Mention, Emoji} from "ckeditor5";
import ExtendedMarkdownInline from "./plugins/extendedMarkdownInline";
import SingleLinePlugin from "./plugins/singleLine";
import SpecialCharactersEmoji from "./plugins/special_characters_emoji";
import SpecialCharactersGreek from "./plugins/special_characters_emoji";
class Editor extends ClassicEditor {}
@ -62,7 +63,8 @@ Editor.builtinPlugins = [
ExtendedMarkdownInline,
SingleLinePlugin,
SpecialCharactersEmoji
SpecialCharactersGreek,
Mention, Emoji
];
// Editor configuration.
@ -81,6 +83,7 @@ Editor.defaultConfig = {
'link',
'code',
'specialCharacters',
'emoji',
'|',
'undo',
'redo',