瀏覽代碼
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(); |
|
|
|
} |
|
|
|
|
|
|
|