Empty editable element returns a `br` tag in the `hallomodified` event data
thasmo opened this issue · comments
When deleting all contents from an editable element, data.content
contains a single <br>
tag, when accessed from withing the hallomodified
event handler.
editor.on('hallomodified', function(event, data) {
console.log(data.content);
});
I confirm the same issue from my side. Is there a workaround for that ? Thank you