- function createFakeElement( editor, realElement )\r
- {\r
- var fakeElement = editor.createFakeParserElement( realElement, 'cke_iframe', 'iframe', true ),\r
- fakeStyle = fakeElement.attributes.style || '';\r
-\r
- var width = realElement.attributes.width,\r
- height = realElement.attributes.height;\r
-\r
- if ( typeof width != 'undefined' )\r
- fakeStyle += 'width:' + CKEDITOR.tools.cssLength( width ) + ';';\r
-\r
- if ( typeof height != 'undefined' )\r
- fakeStyle += 'height:' + CKEDITOR.tools.cssLength( height ) + ';';\r
-\r
- fakeElement.attributes.style = fakeStyle;\r
-\r
- return fakeElement;\r
- }\r
-\r