Skip to content

Commit 6c9914f

Browse files
committed
Merge remote-tracking branch 'origin/4.6'
2 parents d28e2c8 + 6d214a4 commit 6c9914f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import IbexaRemoveElement from '../remove-element/remove-element';
1414
import IbexaBlockAlignment from '../block-alignment/block-alignment';
1515
import IbexaUploadImage from '../upload-image/upload-image';
1616
import IbexaSpecialCharacters from '../special-characters/special-characters';
17+
import IbexaTable from '../table/table';
1718

1819
import {
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: {
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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;

0 commit comments

Comments
 (0)