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

@ -63,7 +63,8 @@ import {EditorWatchdog} from 'ckeditor5';
import {TodoList} from 'ckeditor5';
import ExtendedMarkdown from "./plugins/extendedMarkdown.js";
import SpecialCharactersEmoji from "./plugins/special_characters_emoji";
import SpecialCharactersGreek from "./plugins/special_characters_emoji";
import {Mention, Emoji} from "ckeditor5";
class Editor extends ClassicEditor {}
@ -117,9 +118,11 @@ Editor.builtinPlugins = [
Underline,
TodoList,
Mention, Emoji,
//Our own extensions
ExtendedMarkdown,
SpecialCharactersEmoji
SpecialCharactersGreek
];
// Editor configuration.
@ -148,6 +151,7 @@ Editor.defaultConfig = {
'indent',
'|',
'specialCharacters',
"emoji",
'horizontalLine',
'|',
'imageUpload',