Jelajahi Sumber

Use required style processors.

Maciej Gołaszewski 6 tahun lalu
induk
melakukan
c740b93e0c
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      packages/ckeditor5-table/src/tableproperties.js

+ 5 - 1
packages/ckeditor5-table/src/tableproperties.js

@@ -9,10 +9,14 @@
 
 
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import { downcastTableAttribute, upcastAttribute, upcastBorderStyles } from './tableproperties/utils';
 import { downcastTableAttribute, upcastAttribute, upcastBorderStyles } from './tableproperties/utils';
-import { addBorderStylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/styles/borderstyles';
 import Styles from '@ckeditor/ckeditor5-engine/src/view/styles';
 import Styles from '@ckeditor/ckeditor5-engine/src/view/styles';
+import { addBorderStylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/styles/borderstyles';
+import { addPaddingStylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/styles/paddingstyles';
+import { addBackgroundStylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/styles/backgroundstyles';
 
 
 addBorderStylesProcessor( Styles.processor );
 addBorderStylesProcessor( Styles.processor );
+addPaddingStylesProcessor( Styles.processor );
+addBackgroundStylesProcessor( Styles.processor );
 
 
 /**
 /**
  * The table properties feature.
  * The table properties feature.