I discovered that using @modules like this lets you use Quill modules:
<Ql.editor
@modules={{this.quillModules}}
/>
This allows you to override the default tab behavior.
get quillModules() {
return {
keyboard: {
bindings: {
// Override tab key to allow normal browser behavior
tab: {
key: 9, // Tab key code
handler: function(range, context) {
// Return true to allow default browser behavior
return true;
}
}
}
}
};
}
I discovered that using
@moduleslike this lets you use Quill modules:This allows you to override the default tab behavior.