Opened 13 years ago
Last modified 13 years ago
#8783 closed Bug
getAttribute( 'contenteditable' ) returns 'inherited' on IE7 for elements created from code — at Initial Version
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.4 |
Component: | General | Version: | 3.0 |
Keywords: | IE6 IE7 | Cc: |
Description
For TC as below all browsers alert 'true', but IE7 'inherited'.
<!DOCTYPE html> <html> <head> <script src="path/ckeditor.js"></script> <title>tc</title> </head> <body> <div id="getAttributeContenteditable"></div> <script> var element = CKEDITOR.document.getById( 'getAttributeContenteditable' ); element.setAttribute( 'contenteditable', true ); alert( element.getAttribute( 'contenteditable' ) ); </script> </body> </html>