Hola.
Is there a way to add alert when user tries to remove flexible content field from page.
Wanted to ask ‘Are you sure?’ so it doesn’t delete all of the content by accident.
Thanks in advanced
Found it:
$('body').on('click', '[data-event=remove-layout]', function(e) {
return confirm("Delete widget?");
});