X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fnewpage%2Fplugin.js;h=96c13eda31048ac58d03091c63acc0411f1b4363;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=53fb48a4dfb7e5bbaf64c9975c897d04935ec8ac;hpb=039a051ccf3901311661022a30afd60fc38130c9;p=ckeditor.git diff --git a/_source/plugins/newpage/plugin.js b/_source/plugins/newpage/plugin.js index 53fb48a..96c13ed 100644 --- a/_source/plugins/newpage/plugin.js +++ b/_source/plugins/newpage/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -26,9 +26,10 @@ CKEDITOR.plugins.add( 'newpage', { editor.fire( 'afterCommandExec', { - name: command.name, + name: 'newpage', command: command } ); + editor.selectionChange(); }, 200 ); } ); @@ -46,6 +47,7 @@ CKEDITOR.plugins.add( 'newpage', }); /** * The HTML to load in the editor when the "new page" command is executed. + * @name CKEDITOR.config.newpage_html * @type String * @default '' * @example