KeystrokeHandler should support priorities and proper canceling #4970
Labels
package:utils
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
KeystrokeHandler
callbacks must have priorities just likeEmitter
events. I will allow us to make sure that no matter the order plugins are loaded,PluginX
's callback will always prevail over thePluginY
's if their priority is high.Alo, ATM, if a listener in the KH cancels like
it only causes
preventDefault
andstopPropagation
in DOM. It does not prevent otherTab
callbacks from executing and that needs to be fixed if thePluginX
callback is to be executed but the one belonging to thePluginY
ignored.Related issue https://github.com/ckeditor/ckeditor5-link/issues/87.
A follow-up of #447 (comment).
The text was updated successfully, but these errors were encountered: