Browse Source
Merge pull request #15591 from sumaiya2908/html-editor-fixes
fix: html mode for ace editor
version-14
mergify[bot]
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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(); |
|
|
|
} |
|
|
|
|
|
|
|