/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
(function()\r
command : 'pastefromword'\r
});\r
\r
+ editor.on( 'pasteState', function( evt )\r
+ {\r
+ editor.getCommand( 'pastefromword' ).setState( evt.data );\r
+ });\r
+\r
editor.on( 'paste', function( evt )\r
{\r
var data = evt.data,\r
|| ( this.path + 'filter/default.js' ) );\r
\r
// Load with busy indicator.\r
- CKEDITOR.scriptLoader.load( filterFilePath, callback, null, false, true );\r
+ CKEDITOR.scriptLoader.load( filterFilePath, callback, null, true );\r
}\r
\r
return !isLoaded;\r
- }\r
+ },\r
+\r
+ requires : [ 'clipboard' ]\r
});\r
})();\r
\r