This only happens on IE8. My workaround was to change line 69 of yui_editor.js to use a link instead of a button:

$("#"+id).after("Switch to Plain Editor");

The stylesheet makes the link still look like a button, so all was good after that.

Comments

ablondeau’s picture

The code above should be

$("#"+id).after("<a href=\"#\" id=\"toggleEditor-"+id+"\">Switch to Plain Editor</a>");