Prevent ContextualToolbar of being displayed in specific places #5353
Labels
package:ui
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
I need to prevent
ContextualToolbar
of being displayed in some specific situation (when selection range intersects with some specific node). ATMCT
displays always when the selection is non-collapsed and there is no way to configure it.WDYT about adding
beforeShow
event to theCT
plugin. This event will be fired after selection stops changing just before showing the toolbar. Other plugins will be able to listen to this event and modifiesCT
behavior eg by stopping this event what will preventCT
of being displayed?The text was updated successfully, but these errors were encountered: