【发布时间】:2021-10-08 17:53:27
【问题描述】:
async function TextEditor(element) {
const newEditor = await ClassicEditor.create(element, {
toolbar: [
"heading",
"bold",
"italic",
"bulletedList",
"numberedList",
"blockQuote",
],
});
return newEditor;
}
如何设置CKEditor的宽高
async function TextEditor(element) {
const newEditor = await ClassicEditor.create(element, { 工具栏:[ “标题”, “大胆的”, “斜体”, “项目符号列表”, "编号列表", "块报价", ], });
返回新编辑器; }
【问题讨论】:
标签: javascript html ckeditor