diff --git a/frappe/public/js/frappe/form/controls/text_editor.js b/frappe/public/js/frappe/form/controls/text_editor.js index ce0e516f65..6bbb9c1aa0 100644 --- a/frappe/public/js/frappe/form/controls/text_editor.js +++ b/frappe/public/js/frappe/form/controls/text_editor.js @@ -392,7 +392,7 @@ frappe.ui.form.ControlTextEditor = class ControlTextEditor extends frappe.ui.for } get_keyboard_bindings() { - let bindings = { + const bindings = { "table enter": { key: "Enter", formats: ["table"], @@ -419,6 +419,14 @@ frappe.ui.form.ControlTextEditor = class ControlTextEditor extends frappe.ui.for }, }, }; + + if (this.grid_row) { + bindings["tab"] = { + key: "Tab", + handler: () => true, // call default handler + }; + } + return bindings; } };