Skip to main content
Version: 1.157.0

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.

Confirm Delete Dialog

You can enable this feature by passing the following parameter to your initialization code.

unlayer.init({
editor: {
confirmOnDelete: true,
},
});