fix: disable print margin in ace editor

This commit is contained in:
prssanna 2021-01-12 14:19:23 +05:30
parent eefb9747c9
commit f755a60008

View file

@ -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