fix: Text editor set focus
This commit is contained in:
parent
5683fe0628
commit
ebfeb34d1a
1 changed files with 4 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue