JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.1
[ckeditor.git] / _source / plugins / newpage / plugin.js
index 62c5405..fb23308 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -19,7 +19,7 @@ CKEDITOR.plugins.add( 'newpage',
                                exec : function( editor )\r
                                {\r
                                        var command = this;\r
-                                       editor.setData( editor.config.newpage_html, function()\r
+                                       editor.setData( editor.config.newpage_html || '', function()\r
                                        {\r
                                                // Save the undo snapshot after all document changes are affected. (#4889)\r
                                                setTimeout( function ()\r
@@ -51,4 +51,3 @@ CKEDITOR.plugins.add( 'newpage',
  * @example\r
  * config.newpage_html = '<p>Type your text here.</p>';\r
  */\r
-CKEDITOR.config.newpage_html = '';\r