diff --git a/src/components/editor.js b/src/components/editor.js index 8e7cf48..86f1fec 100644 --- a/src/components/editor.js +++ b/src/components/editor.js @@ -371,7 +371,7 @@ export default { editor.on('init', function (ed) { // 设置默认字体(新增才需要设置) if (editor.iframeElement.contentWindow.document.body.innerText === '\n') { - ed.target.editorCommands.execCommand("fontName", false, "Microsoft Yahei") + ed.target.editorCommands.execCommand("fontName", false, "Harmony") ed.target.editorCommands.execCommand("fontSize", false, "19px") ed.target.editorCommands.execCommand("lineHeight", false, "1.5") } diff --git a/src/pages/column/add/index.vue b/src/pages/column/add/index.vue index 9d37ed5..613986c 100644 --- a/src/pages/column/add/index.vue +++ b/src/pages/column/add/index.vue @@ -1,136 +1,81 @@