Rich Text (YUI) Editor Broken on IE11
问题 I'm running Internet Explorer 11 and YUI 2: Rich Text Editor seems not working. Please see attached screen shot for more detail. Any ideas how to fix this under IE11? 回答1: For IE changed its User-Agent, YUI(2.9) need a surgery. Modify yahoo-dom-event.js: Find this: YAHOO.env.parseUA, then at last add something that tell YAHOO.env.ua now is undering IE 11. like this: if (g.ie == 0 && c.indexOf('Trident') != -1){ g.ie = 11; } Modify editor.js: Find the _setInitialContent function, and after the