Skip to main content

Events

If you need to create custom behaviour you can listen for some events on the editor

EventDescriptionCancellableMethods
changeFires when the value of the editor is changed by the user (not when the value is set by the host)Nodetail : string, the JSON of the page (same as element.value)
templatesFires when the user click on the template buttonYes
componentsFires when the user click on the add component buttonYes
removeitemFires when a bloc is removedYesdetail.confirm : () => void, triggers the intended action (usefull if event was prevented)