8
0
Просмотр исходного кода

Update Decoupled Editor plugin config

panr 6 лет назад
Родитель
Сommit
ae5603ffe0
1 измененных файлов с 7 добавлено и 4 удалено
  1. 7 4
      packages/ckeditor5-build-decoupled-document/src/ckeditor.js

+ 7 - 4
packages/ckeditor5-build-decoupled-document/src/ckeditor.js

@@ -10,7 +10,8 @@ import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
 import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
 import FontSize from '@ckeditor/ckeditor5-font/src/fontsize';
 import FontFamily from '@ckeditor/ckeditor5-font/src/fontfamily';
-import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight';
+import FontColor from '@ckeditor/ckeditor5-font/src/fontColor';
+import FontBackgroundColor from '@ckeditor/ckeditor5-font/src/fontBackgroundColor';
 import UploadAdapter from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
 import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat';
 import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
@@ -44,7 +45,8 @@ DecoupledEditor.builtinPlugins = [
 	Alignment,
 	FontSize,
 	FontFamily,
-	Highlight,
+	FontColor,
+	FontBackgroundColor,
 	UploadAdapter,
 	Autoformat,
 	Bold,
@@ -77,14 +79,15 @@ DecoupledEditor.defaultConfig = {
 		items: [
 			'heading',
 			'|',
-			'fontsize',
 			'fontfamily',
+			'fontsize',
+			'fontColor',
+			'fontBackgroundColor',
 			'|',
 			'bold',
 			'italic',
 			'underline',
 			'strikethrough',
-			'highlight',
 			'|',
 			'alignment',
 			'|',