JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _source / plugins / clipboard / dialogs / paste.js
index 8eeeea0..8903892 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -118,7 +118,7 @@ CKEDITOR.dialog.add( 'paste', function( editor )
                                html = iframe.$.contentWindow.document.body.innerHTML;\r
 \r
                        setTimeout( function(){\r
-                               editor.insertHtml( html );\r
+                               editor.fire( 'paste', { 'html' : html } );\r
                        }, 0 );\r
 \r
                },\r