/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
// It looks strange, but for FF2, the styles must go\r
// after <body>, so it (body) becames immediatelly\r
// available. (#3031)\r
- '<link type="text/css" rel=stylesheet href="' + this.css.join( '"><link type="text/css" rel="stylesheet" href="' ) + '">' +\r
+ CKEDITOR.tools.buildStyleHtml( this.css ) +\r
'<\/html>' );\r
doc.$.close();\r
\r
block.show();\r
\r
return block;\r
+ },\r
+\r
+ destroy : function()\r
+ {\r
+ this.element && this.element.remove();\r
}\r
};\r
\r