#3833: Fixing CKEDITOR.dom.element test case -------------------------------+-------------------------------------------- Reporter: garry.yao | Owner: garry.yao Type: Bug | Status: assigned Priority: Normal | Milestone: CKEditor 3.0 Component: QA | Version: Keywords: Confirmed Review- | -------------------------------+-------------------------------------------- Changes (by fredck):
* keywords: Confirmed Review? => Confirmed Review- Comment: The structure of the getAttribute function is complicated. It should be something as simple as: {{{ var retval = element.getAttribute( attrName ); if ( attrName == 'style' ) { return retval .replace ... } return retval; }}} It will also make it simpler if we need to add other special attributes to it. -- Ticket URL: <http://dev.fckeditor.net/ticket/3833#comment:2> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac