I have a similar issue. On windows, I can delete an image by pressing the 'Del' key. However, I've used a float:right
css to position the image automatically and in this case I can not delete it anymore.
I have added the following workaround in my page. It makes possible to delete the image by double-clicking on it.
$(function() {
$('.aloha img').live('dblclick', function(event) {
if (confirm("Supprimer l'image?")) {
event.preventDefault();
$(this).remove();
}
return false;
});
});
This seems to works on firefox. However sometimes I can see the image to be magically restored. On Chrome this magic behavior happens every time.
I keep investigating and I'll keep you informed if I fix this problem in a clean way.
Update: this is now fixed in aloha-editor. If you select the image and clear the src field value. See https://github.com/alohaeditor/Aloha-Editor/issues/513