fix: disable print margin in ace editor
This commit is contained in:
parent
eefb9747c9
commit
f755a60008
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ frappe.ui.form.ControlCode = frappe.ui.form.ControlText.extend({
|
|||
const ace = window.ace;
|
||||
this.editor = ace.edit(this.ace_editor_target.get(0));
|
||||
this.editor.setTheme('ace/theme/tomorrow');
|
||||
this.editor.setOption("showPrintMargin", false)
|
||||
this.set_language();
|
||||
|
||||
// events
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue