|
|
@@ -18,6 +18,7 @@ import PasteFromOffice from '../../src/pastefromoffice';
|
|
|
import { stringify as stringifyView } from '@ckeditor/ckeditor5-engine/src/dev-utils/view';
|
|
|
|
|
|
import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
|
|
|
+import TableProperties from '@ckeditor/ckeditor5-table/src/tableproperties';
|
|
|
|
|
|
const htmlDiv = document.querySelector( '#html' );
|
|
|
const textDiv = document.querySelector( '#text' );
|
|
|
@@ -25,9 +26,13 @@ const dataDiv = document.querySelector( '#data' );
|
|
|
|
|
|
ClassicEditor
|
|
|
.create( document.querySelector( '#editor' ), {
|
|
|
- plugins: [ ArticlePluginSet, Strikethrough, Underline, Table, TableToolbar, EasyImage, PasteFromOffice ],
|
|
|
+ plugins: [ ArticlePluginSet, Strikethrough, Underline, Table, TableToolbar,
|
|
|
+ TableProperties, TableProperties, EasyImage, PasteFromOffice ],
|
|
|
toolbar: [ 'heading', '|', 'bold', 'italic', 'strikethrough', 'underline', 'link',
|
|
|
'bulletedList', 'numberedList', 'blockQuote', 'insertTable', 'undo', 'redo' ],
|
|
|
+ table: {
|
|
|
+ contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells', 'tableProperties', 'tableCellProperties' ]
|
|
|
+ },
|
|
|
cloudServices: CS_CONFIG
|
|
|
} )
|
|
|
.then( editor => {
|