How to disable a block? #4182
-
I have a custom block and I need to disable it from being dragged and dropped after it has been used once.I came across only the option to disable a block entirely when it is first added.I am looking for a situation,when it can be used only once and then the block should be disabled.Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try events https://grapesjs.com/docs/api/block_manager.html#available-events |
Beta Was this translation helpful? Give feedback.
Try events
https://grapesjs.com/docs/api/block_manager.html#available-events