|
|
@@ -12,6 +12,7 @@ import Typing from '@ckeditor/ckeditor5-typing/src/typing';
|
|
|
import UndoEditing from '@ckeditor/ckeditor5-undo/src/undoediting';
|
|
|
import BlockQuoteEditing from '@ckeditor/ckeditor5-block-quote/src/blockquoteediting';
|
|
|
import HeadingEditing from '@ckeditor/ckeditor5-heading/src/headingediting';
|
|
|
+import TableEditing from '@ckeditor/ckeditor5-table/src/tableediting';
|
|
|
|
|
|
import { getData, parse } from '../../../../src/dev-utils/model';
|
|
|
import { transformSets } from '../../../../src/model/operation/transform';
|
|
|
@@ -37,7 +38,7 @@ export class Client {
|
|
|
// UndoEditing is needed for undo command.
|
|
|
// Block plugins are needed for proper data serializing.
|
|
|
// BoldEditing is needed for bold command.
|
|
|
- plugins: [ Typing, Paragraph, ListEditing, UndoEditing, BlockQuoteEditing, HeadingEditing, BoldEditing ]
|
|
|
+ plugins: [ Typing, Paragraph, ListEditing, UndoEditing, BlockQuoteEditing, HeadingEditing, BoldEditing, TableEditing ]
|
|
|
} ).then( editor => {
|
|
|
this.editor = editor;
|
|
|
this.document = editor.model.document;
|