JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1.1
[ckeditor.git] / _source / plugins / pastefromword / plugin.js
index 2e0b3d4..a5d3896 100644 (file)
@@ -27,7 +27,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                exec : function()\r
                                {\r
                                        forceFromWord = 1;\r
-                                       if( editor.execCommand( 'paste' ) === false )\r
+                                       if ( editor.execCommand( 'paste' ) === false )\r
                                        {\r
                                                editor.on( 'dialogHide', function ( evt )\r
                                                        {\r
@@ -59,7 +59,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                        // Event continuation with the original data.\r
                                                        if ( isLazyLoad )\r
                                                                editor.fire( 'paste', data );\r
-                                                       else if( !editor.config.pasteFromWordPromptCleanup\r
+                                                       else if ( !editor.config.pasteFromWordPromptCleanup\r
                                                          || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) )\r
                                                         {\r
                                                                data[ 'html' ] = CKEDITOR.cleanWord( mswordHtml, editor );\r
@@ -96,8 +96,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 })();\r
 \r
 /**\r
- * Whether prompt the user about the clean-up of content from MS-Word.\r
+ * Whether to prompt the user about the clean up of content being pasted from\r
+ * MS Word.\r
  * @name CKEDITOR.config.pasteFromWordPromptCleanup\r
+ * @since 3.1\r
  * @type Boolean\r
  * @default undefined\r
  * @example\r
@@ -105,9 +107,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
  */\r
 \r
 /**\r
- * The file that provides the MS-Word Filtering rules.\r
- * Note: It's a global configuration which are shared by all editor instances.\r
+ * The file that provides the MS Word cleanup function for pasting operations.\r
+ * Note: This is a global configuration shared by all editor instances present\r
+ * in the page.\r
  * @name CKEDITOR.config.pasteFromWordCleanupFile\r
+ * @since 3.1\r
  * @type String\r
  * @default 'default'\r
  * @example\r