bergie / hallo

Simple rich text editor (contentEditable) for jQuery UI

Home Page:http://hallojs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internet Explorer Browser Sniffing Breaks in IE11

OlduwanSteve opened this issue · comments

There are special cases for IE to make block editing work (because IE needs the angle brackets around the tag name, <H1> instead of H1). However, IE11 deliberately breaks browser sniffing so these special cases don't work.

Unfortunately the special cases are still needed, but some replacement browser sniffing is needed, or another method of feature detection. I'm not sure how you would 'feature detect' this - maybe do a one-time hidden edit and check if it actually changes the tag of the element?