Confirm On Delete
When a user deletes any content in their design, the default behavior is not to show a confirmation message. If you have the Undo / Redo feature turned off, then you may want to enable this feature.
You can enable this feature by passing the following parameter to your initialization code.
unlayer.init({
editor: {
confirmOnDelete: true
}
})
Updated almost 3 years ago