JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-4.0_full
[ckeditor.git] / _source / plugins / newpage / plugin.js
diff --git a/_source/plugins/newpage/plugin.js b/_source/plugins/newpage/plugin.js
deleted file mode 100644 (file)
index 96c13ed..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\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