X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fnewpage%2Fplugin.js;h=53fb48a4dfb7e5bbaf64c9975c897d04935ec8ac;hp=62c5405126bffe1c6eac66dc33a5b0601e22c4dc;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/plugins/newpage/plugin.js b/_source/plugins/newpage/plugin.js index 62c5405..53fb48a 100644 --- a/_source/plugins/newpage/plugin.js +++ b/_source/plugins/newpage/plugin.js @@ -19,7 +19,7 @@ CKEDITOR.plugins.add( 'newpage', exec : function( editor ) { var command = this; - editor.setData( editor.config.newpage_html, function() + editor.setData( editor.config.newpage_html || '', function() { // Save the undo snapshot after all document changes are affected. (#4889) setTimeout( function () @@ -51,4 +51,3 @@ CKEDITOR.plugins.add( 'newpage', * @example * config.newpage_html = '<p>Type your text here.</p>'; */ -CKEDITOR.config.newpage_html = '';