grapesjs
grapesjs copied to clipboard
How to listen for changes to the selection box in Traits
i just want to listen for changes to the selection box,but i can't enter the function updateType
@ionic666 I guess you will need to create a custom trait: https://github.com/artf/grapesjs/wiki/Traits#define-new-trait-type
not having changeProp: 1, it will be a simple attribute, so you have listen to: change:attributes:data-sensor
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.