|
|
@@ -14,11 +14,10 @@ import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
|
|
|
import Image from '@ckeditor/ckeditor5-image/src/image';
|
|
|
import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
|
|
|
import Table from '@ckeditor/ckeditor5-table/src/table';
|
|
|
-import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar';
|
|
|
|
|
|
ClassicEditor
|
|
|
.create( document.querySelector( '#editor' ), {
|
|
|
- plugins: [ Essentials, Paragraph, Bold, Italic, Heading, Image, ImageCaption, Table, TableToolbar ],
|
|
|
+ plugins: [ Essentials, Paragraph, Bold, Italic, Heading, Image, ImageCaption, Table ],
|
|
|
toolbar: [ 'heading', '|', 'bold', 'italic', '|', 'insertTable', '|', 'selectAll' ]
|
|
|
} )
|
|
|
.then( editor => {
|