Ticket #5603: plugin.js.patch
File plugin.js.patch, 1.1 KB (added by , 15 years ago) |
---|
-
external/js/ckeditor/_source/plugins/pastefromword/plugin.js
54 54 if ( ( mswordHtml = data[ 'html' ] ) 55 55 && ( forceFromWord || ( /(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/ ).test( mswordHtml ) ) ) 56 56 { 57 var isLazyLoad = this.loadFilterRules( function()57 var isLazyLoad = this.loadFilterRules(editor, function() 58 58 { 59 59 // Event continuation with the original data. 60 60 if ( isLazyLoad ) … … 73 73 }, this ); 74 74 }, 75 75 76 loadFilterRules : function( callback )76 loadFilterRules : function(editor, callback ) 77 77 { 78 78 79 79 var isLoaded = CKEDITOR.cleanWord; … … 83 83 else 84 84 { 85 85 var filterFilePath = CKEDITOR.getUrl( 86 CKEDITOR.config.pasteFromWordCleanupFile86 editor.config.pasteFromWordCleanupFile 87 87 || ( this.path + 'filter/default.js' ) ); 88 88 89 89 // Load with busy indicator.