|
|
@ -371,7 +371,7 @@ export default { |
|
|
|
if (editor.iframeElement.contentWindow.document.body.innerText === '\n') { |
|
|
|
if (editor.iframeElement.contentWindow.document.body.innerText === '\n') { |
|
|
|
ed.target.editorCommands.execCommand("fontName", false, "Microsoft Yahei") |
|
|
|
ed.target.editorCommands.execCommand("fontName", false, "Microsoft Yahei") |
|
|
|
ed.target.editorCommands.execCommand("fontSize", false, "19px") |
|
|
|
ed.target.editorCommands.execCommand("fontSize", false, "19px") |
|
|
|
ed.target.editorCommands.execCommand("lineHeight", false, "1.5") |
|
|
|
ed.target.editorCommands.execCommand("lineHeight", false, "1") |
|
|
|
} |
|
|
|
} |
|
|
|
top.document.querySelector('#articleTitle').focus() // 第一个字段聚焦
|
|
|
|
top.document.querySelector('#articleTitle').focus() // 第一个字段聚焦
|
|
|
|
}) |
|
|
|
}) |
|
|
|