X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fnewpage%2Fplugin.js;h=ab188745c58aff0aed2e3f7374bacca48a27ce14;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;hp=fb23308394dcb786d770635215b06063bd33253b;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/newpage/plugin.js b/_source/plugins/newpage/plugin.js index fb23308..ab18874 100644 --- a/_source/plugins/newpage/plugin.js +++ b/_source/plugins/newpage/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, 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