1

How can we handle a content-editable="false" element inside a content-editable="true" element on IE?

What I want to do is inser a span inside a content editable div. It works fine on Chrome, where if you backspace on the span which is content-editable="false", then the whole span is deleted.

On IE this displays very strange behaviour!

Any inputs?

Varun Chatterji
  • 4,861
  • 1
  • 21
  • 22

1 Answers1

1

I found a really good library for exactly this sort of thing.

It's jQuery based so its just perfect!!

http://tagedit.webwork-albrecht.de/

Also, linking here to some more research: jQuery autocomplete tagging plug-in like StackOverflow's input tags?

Community
  • 1
  • 1
Varun Chatterji
  • 4,861
  • 1
  • 21
  • 22