Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 7504)
+++ /CKEditor/trunk/CHANGES.html (revision 7505)
@@ -45,4 +45,5 @@
Fixed issues:
+ - #8783 : getAttribute( 'contenteditable' ) returns 'inherited' on IE7 and IE6 for elements created from code.
- #8463 : WebKit: Cut/Copy buttons didn't go on "enabled" state.
- #9043 : Command newpage didn't return its name when afterCommandExec event was fired.
Index: /CKEditor/trunk/_source/core/dom/element.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/element.js (revision 7504)
+++ /CKEditor/trunk/_source/core/dom/element.js (revision 7505)
@@ -467,4 +467,9 @@
// IE does not return inline styles via getAttribute(). See #2947.
return this.$.style.cssText;
+
+ case 'contenteditable':
+ case 'contentEditable':
+ return this.$.attributes.getNamedItem( 'contentEditable' ).specified ?
+ this.$.getAttribute( 'contentEditable' ) : null;
}
@@ -1070,4 +1075,6 @@
else if ( name == 'checked' )
this.$.checked = value;
+ else if ( name == 'contenteditable' )
+ standard.call( this, 'contentEditable', value );
else
standard.apply( this, arguments );
@@ -1144,4 +1151,6 @@
else if ( name == 'tabindex' )
name = 'tabIndex';
+ else if ( name == 'contenteditable' )
+ name = 'contentEditable';
standard.call( this, name );
};