How to prevent component:drag:start from firing #5505
-
Hello, I'm trying to programmatically prevent the https://grapesjs.com/docs/modules/Commands.html#interrupt-command-flow but it doesn't seem to be working for default, out-of-the-box commands like
Any help, please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Have you tried Other option may be just setting your components to |
Beta Was this translation helpful? Give feedback.
-
@jakeatkins those are direct events, not related to a command itself, so they have nothing to do with command flow interruption. The underlying command used there is |
Beta Was this translation helpful? Give feedback.
@jakeatkins those are direct events, not related to a command itself, so they have nothing to do with command flow interruption.
The underlying command used there is
tlb-move
, so you can interrupt withrun:tlb-move:before