mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 04:30:08 +02:00
Started to rewrite CKEDITOR placeholder plugin for CKEDITOR5.
This commit is contained in:
parent
a33e93826a
commit
eba89cee62
8 changed files with 374 additions and 1 deletions
|
@ -60,6 +60,7 @@ import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar.js';
|
|||
import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline.js';
|
||||
import WordCount from '@ckeditor/ckeditor5-word-count/src/wordcount.js';
|
||||
import EditorWatchdog from '@ckeditor/ckeditor5-watchdog/src/editorwatchdog.js';
|
||||
import PartDBLabel from "./plugins/PartDBLabel/PartDBLabel";
|
||||
|
||||
class Editor extends ClassicEditor {}
|
||||
|
||||
|
@ -119,13 +120,16 @@ Editor.builtinPlugins = [
|
|||
TableProperties,
|
||||
TableToolbar,
|
||||
Underline,
|
||||
WordCount
|
||||
WordCount,
|
||||
|
||||
PartDBLabel
|
||||
];
|
||||
|
||||
// Editor configuration.
|
||||
Editor.defaultConfig = {
|
||||
toolbar: {
|
||||
items: [
|
||||
'partdb_label',
|
||||
'heading',
|
||||
'alignment',
|
||||
'|',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue