witten
/
luminotes
Archived
1
0
Fork 0

Fixed note state detection of bold/italic in IE 6 and 7.

This commit is contained in:
Dan Helfman 2007-11-30 01:45:07 +00:00
parent 83b3fb5baa
commit 2832cebb48
1 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,9 @@ Editor.prototype.current_node_names = function () {
while ( node ) {
var name = node.nodeName.toLowerCase();
if ( name == "strong" ) name = "b";
if ( name == "em" ) name = "i";
if ( name != "a" || node.href )
node_names.push( name );