+++ /dev/null
-/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-/**\r
- * @file Horizontal Page Break\r
- */\r
-\r
-// Register a plugin named "newpage".\r
-CKEDITOR.plugins.add( 'newpage',\r
-{\r
- init : function( editor )\r
- {\r
- editor.addCommand( 'newpage',\r
- {\r
- modes : { wysiwyg:1, source:1 },\r
-\r
- exec : function( editor )\r
- {\r
- var command = this;\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
- {\r
- editor.fire( 'afterCommandExec',\r
- {\r
- name: 'newpage',\r
- command: command\r
- } );\r
- editor.selectionChange();\r
-\r
- }, 200 );\r
- } );\r
- editor.focus();\r
- },\r
- async : true\r
- });\r
-\r
- editor.ui.addButton( 'NewPage',\r
- {\r
- label : editor.lang.newPage,\r
- command : 'newpage'\r
- });\r
- }\r
-});\r
-/**\r
- * The HTML to load in the editor when the "new page" command is executed.\r
- * @name CKEDITOR.config.newpage_html\r
- * @type String\r
- * @default ''\r
- * @example\r
- * config.newpage_html = '<p>Type your text here.</p>';\r
- */\r