Images in a contenteditable div not deletable -


i'm having little inline editor uses contenteditable div. if have this: http://jsfiddle.net/6psj4/1/ possible make image not deletable?

<div contenteditable="true">hi<img src="http://tinyw.in/bh9v" contenteditable="false"></div> 

worked me on firefox , chrome, it's not usable - e.g. moving caret after image wasn't possible without ecitable content after it.

afaik without custom delete key handler , bogus brs/spaces corrections won't possible implement e.g. ckeditor.

check this: http://nightly.ckeditor.com/7529/_samples/placeholder.html


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -