<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
<!--\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
-->\r
<html xmlns="http://www.w3.org/1999/xhtml">\r
<script type="text/javascript">\r
//<![CDATA[\r
\r
-var editor;\r
+var editor, html = '';\r
\r
function createEditor()\r
{\r
if ( editor )\r
return;\r
\r
- var html = document.getElementById( 'editorcontents' ).innerHTML;\r
\r
// Create a new editor inside the <div id="editor">, setting its value to html\r
var config = {};\r
\r
// Retrieve the editor contents. In an Ajax application, this data would be\r
// sent to the server or used in any other way.\r
- document.getElementById( 'editorcontents' ).innerHTML = editor.getData();\r
+ document.getElementById( 'editorcontents' ).innerHTML = html = editor.getData();\r
document.getElementById( 'contents' ).style.display = '';\r
\r
// Destroy the editor.\r
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
</p>\r
<p id="copy">\r
- Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
+ Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
Knabben. All rights reserved.\r
</p>\r
</div>\r