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.
![Screen Shot 2021-12-02 at 7.01.23 PM.png 1036](https://files.readme.io/239f71f-Screen_Shot_2021-12-02_at_7.01.23_PM.png)
You can enable this feature by passing the following parameter to your initialization code.
unlayer.init({
editor: {
confirmOnDelete: true
}
})
Updated over 2 years ago