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

移除格式:remove-format

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