diff --git a/frappe/public/js/frappe/form/controls/text_editor.js b/frappe/public/js/frappe/form/controls/text_editor.js index e616b9ef3e..8f2d898908 100644 --- a/frappe/public/js/frappe/form/controls/text_editor.js +++ b/frappe/public/js/frappe/form/controls/text_editor.js @@ -270,6 +270,9 @@ frappe.ui.form.ControlTextEditor = frappe.ui.form.ControlCode.extend({ getListLevel(el) { const className = el.className || '0'; return +className.replace(/[^\d]/g, ''); - } + }, + set_focus() { + this.quill.focus(); + } });