提交 8e4e20bd authored 作者: 蔡芬's avatar 蔡芬

移除格式:remove-format

上级 52bd3d8b
差异被折叠。
...@@ -37,6 +37,7 @@ import FontSize from '@ckeditor/ckeditor5-font/src/fontsize'; ...@@ -37,6 +37,7 @@ import FontSize from '@ckeditor/ckeditor5-font/src/fontsize';
import FontBackgroundColor from '@ckeditor/ckeditor5-font/src/fontbackgroundcolor'; import FontBackgroundColor from '@ckeditor/ckeditor5-font/src/fontbackgroundcolor';
import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline'; import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';
import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment'; import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment';
import RemoveFormat from '@ckeditor/ckeditor5-remove-format/src/removeformat';
class ClassicEditor extends ClassicEditorBase {} class ClassicEditor extends ClassicEditorBase {}
...@@ -83,7 +84,8 @@ const plugins = [ ...@@ -83,7 +84,8 @@ const plugins = [
FontSize, FontSize,
FontBackgroundColor, FontBackgroundColor,
Underline, Underline,
Alignment Alignment,
RemoveFormat
]; ];
ClassicEditor.builtinPlugins = plugins; ClassicEditor.builtinPlugins = plugins;
BalloonEditor.builtinPlugins = plugins; BalloonEditor.builtinPlugins = plugins;
...@@ -107,6 +109,7 @@ const config = { ...@@ -107,6 +109,7 @@ const config = {
'|', '|',
'insertTable', 'insertTable',
'mediaEmbed', 'mediaEmbed',
'removeFormat',
'undo', 'undo',
'redo' 'redo'
] ]
...@@ -138,6 +141,7 @@ const configSimple = { ...@@ -138,6 +141,7 @@ const configSimple = {
'bold','italic','underline', 'bold','italic','underline',
'fontColor','fontBackgroundColor', 'fontColor','fontBackgroundColor',
'alignment', 'alignment',
'removeFormat',
'undo', 'undo',
'redo' 'redo'
] ]
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论