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 @@ -31,6 +31,7 @@ import Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough';
3131import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote' ;
3232import SpecialCharactersEssentials from '@ckeditor/ckeditor5-special-characters/src/specialcharactersessentials' ;
3333import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon' ;
34+ import IbexaTable from '../table/table' ;
3435
3536const VIEWPORT_TOP_OFFSET = 102 ;
3637const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0 ;
@@ -189,6 +190,7 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
189190 IbexaRemoveElement ,
190191 IbexaBlockAlignment ,
191192 IbexaUploadImage ,
193+ IbexaTable ,
192194 ...extraPlugins ,
193195 ] ,
194196 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