Hi there,
I'm using contentEditable="false" and unselectable() to (try) to prevent the user from editing an image inside CKEditor. What is most important, is that the user should not be able to delete that image. I hoped the unselectable() part would prevent that the user can click on the image and hit [ del ] or [ backspace ] to remove it.
However, using unselectable() doesn't seem to have that effect. You cannot drag and drop the image anymore, but you can still click on it (select it, it is shown in the path at the bottom) and remove it or use the image-button to edit its properties.
Is there a way to really make it unselectable?
Lukas
Thu, 02/09/2012 - 10:59
#1
Re: element.unselectable() doesn't work as expected
user-select:none;
-webkit-user-select:none;
-moz-user-select:none;