|
@@ -15,7 +15,6 @@ import Typing from '@ckeditor/ckeditor5-typing/src/typing';
|
|
|
import Undo from '@ckeditor/ckeditor5-undo/src/undo';
|
|
import Undo from '@ckeditor/ckeditor5-undo/src/undo';
|
|
|
import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
|
|
import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
|
|
|
import ShiftEnter from '@ckeditor/ckeditor5-enter/src/shiftenter';
|
|
import ShiftEnter from '@ckeditor/ckeditor5-enter/src/shiftenter';
|
|
|
-import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight';
|
|
|
|
|
import Image from '@ckeditor/ckeditor5-image/src/image';
|
|
import Image from '@ckeditor/ckeditor5-image/src/image';
|
|
|
import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
|
|
import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
|
|
|
import ImageToolbar from '@ckeditor/ckeditor5-image/src/imagetoolbar';
|
|
import ImageToolbar from '@ckeditor/ckeditor5-image/src/imagetoolbar';
|
|
@@ -27,10 +26,10 @@ import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';
|
|
|
ClassicEditor
|
|
ClassicEditor
|
|
|
.create( global.document.querySelector( '#editor' ), {
|
|
.create( global.document.querySelector( '#editor' ), {
|
|
|
plugins: [
|
|
plugins: [
|
|
|
- Bold, Clipboard, Enter, Highlight, Italic, Link, Paragraph, RemoveFormat, ShiftEnter, Typing,
|
|
|
|
|
|
|
+ Bold, Clipboard, Enter, Italic, Link, Paragraph, RemoveFormat, ShiftEnter, Typing,
|
|
|
Underline, Undo, Image, Image, ImageCaption, ImageToolbar
|
|
Underline, Undo, Image, Image, ImageCaption, ImageToolbar
|
|
|
],
|
|
],
|
|
|
- toolbar: [ 'removeFormat', '|', 'italic', 'bold', 'link', 'underline', 'highlight', '|', 'undo', 'redo' ]
|
|
|
|
|
|
|
+ toolbar: [ 'removeFormat', '|', 'italic', 'bold', 'link', 'underline', '|', 'undo', 'redo' ]
|
|
|
} )
|
|
} )
|
|
|
.then( editor => {
|
|
.then( editor => {
|
|
|
window.editor = editor;
|
|
window.editor = editor;
|