浏览代码
Merge pull request #15591 from sumaiya2908/html-editor-fixes
fix: html mode for ace editor
version-14
mergify[bot]
3 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
3 次插入 和
1 次删除
-
frappe/public/js/frappe/form/controls/markdown_editor.js
|
|
@@ -32,7 +32,9 @@ frappe.ui.form.ControlMarkdownEditor = class ControlMarkdownEditor extends frapp |
|
|
|
} |
|
|
|
|
|
|
|
set_language() { |
|
|
|
this.df.options = 'Markdown'; |
|
|
|
if (!this.df.options) { |
|
|
|
this.df.options = 'Markdown'; |
|
|
|
} |
|
|
|
super.set_language(); |
|
|
|
} |
|
|
|
|
|
|
|