I am trying to use the dijit.Editor widget. I do not have the need for all the plugins, such as bold, italic, lists, etc. By not including them in the plugins list, they do not appear in the toolbar. But the shortcut key mapping is still present.
I tried to subclass dijit.Editor and override the setupDefaultShortcuts method, but this does not seem to solve the problem.
Is there a way to override the shortcut key mappings?
What you stated in the question works for me… Don’t even have to extend, just clobber the function by passing a new empty one in.
If you do want to extend, it’s just as easy: