|
|
@@ -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',
|
|
|
'|',
|