Fixed note state detection of bold/italic in IE 6 and 7.
This commit is contained in:
parent
83b3fb5baa
commit
2832cebb48
|
@ -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 );
|
||||
|
||||
|
|
Reference in New Issue