X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fnewpage%2Fplugin.js;h=fe73dbe2310c0bc2fe423f13805926ab85078d81;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hp=fb23308394dcb786d770635215b06063bd33253b;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/newpage/plugin.js b/_source/plugins/newpage/plugin.js index fb23308..fe73dbe 100644 --- a/_source/plugins/newpage/plugin.js +++ b/_source/plugins/newpage/plugin.js @@ -29,6 +29,7 @@ CKEDITOR.plugins.add( 'newpage', name: command.name, 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