Commit d4c8e8f7 authored by panr's avatar panr

Update Decoupled Editor plugin config

parent 16412ddf
...@@ -10,7 +10,8 @@ import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials'; ...@@ -10,7 +10,8 @@ import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment'; import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
import FontSize from '@ckeditor/ckeditor5-font/src/fontsize'; import FontSize from '@ckeditor/ckeditor5-font/src/fontsize';
import FontFamily from '@ckeditor/ckeditor5-font/src/fontfamily'; 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 UploadAdapter from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';
import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat'; import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat';
import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold'; import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
...@@ -44,7 +45,8 @@ DecoupledEditor.builtinPlugins = [ ...@@ -44,7 +45,8 @@ DecoupledEditor.builtinPlugins = [
Alignment, Alignment,
FontSize, FontSize,
FontFamily, FontFamily,
Highlight, FontColor,
FontBackgroundColor,
UploadAdapter, UploadAdapter,
Autoformat, Autoformat,
Bold, Bold,
...@@ -77,14 +79,15 @@ DecoupledEditor.defaultConfig = { ...@@ -77,14 +79,15 @@ DecoupledEditor.defaultConfig = {
items: [ items: [
'heading', 'heading',
'|', '|',
'fontsize',
'fontfamily', 'fontfamily',
'fontsize',
'fontColor',
'fontBackgroundColor',
'|', '|',
'bold', 'bold',
'italic', 'italic',
'underline', 'underline',
'strikethrough', 'strikethrough',
'highlight',
'|', '|',
'alignment', 'alignment',
'|', '|',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment