File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/bundle/Resources/public/js/CKEditor Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import IbexaRemoveElement from '../remove-element/remove-element';
1414import IbexaBlockAlignment from '../block-alignment/block-alignment' ;
1515import IbexaUploadImage from '../upload-image/upload-image' ;
1616import IbexaSpecialCharacters from '../special-characters/special-characters' ;
17+ import IbexaTable from '../table/table' ;
1718
1819import {
1920 InlineEditor ,
@@ -192,6 +193,7 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
192193 IbexaRemoveElement ,
193194 IbexaBlockAlignment ,
194195 IbexaUploadImage ,
196+ IbexaTable ,
195197 ...extraPlugins ,
196198 ] ,
197199 toolbar : {
Original file line number Diff line number Diff line change 1+ import Plugin from '@ckeditor/ckeditor5-core/src/plugin' ;
2+
3+ import { addPredefinedClassToConfig } from '../custom-attributes/helpers/config-helper' ;
4+
5+ class IbexaTable extends Plugin {
6+ constructor ( props ) {
7+ super ( props ) ;
8+
9+ addPredefinedClassToConfig ( 'table' , 'table' ) ;
10+ }
11+ }
12+
13+ export default IbexaTable ;
You can’t perform that action at this time.
0 commit comments