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
parent
commit
a54bf39ec3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      frappe/public/js/frappe/form/controls/markdown_editor.js

+ 3
- 1
frappe/public/js/frappe/form/controls/markdown_editor.js View File

@@ -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();
}



Loading…
Cancel
Save