JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3
[ckeditor.git] / _source / plugins / flash / plugin.js
index 41814e3..c76a7fe 100644 (file)
@@ -77,6 +77,14 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                        });\r
                        }\r
 \r
+                       editor.on( 'doubleclick', function( evt )\r
+                               {\r
+                                       var element = evt.data.element;\r
+\r
+                                       if ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'flash' )\r
+                                               evt.data.dialog = 'flash';\r
+                               });\r
+\r
                        // If the "contextmenu" plugin is loaded, register the listeners.\r
                        if ( editor.contextMenu )\r
                        {\r