X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ftable%2Fplugin.js;h=d1c60a8b6c699e7ece9414cdead5336be59e864d;hb=refs%2Ftags%2Fv3.3.2;hp=7aab3cc1ee725a2fffe9d4d77e9394c216a9d761;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/plugins/table/plugin.js b/_source/plugins/table/plugin.js index 7aab3cc..d1c60a8 100644 --- a/_source/plugins/table/plugin.js +++ b/_source/plugins/table/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -45,6 +45,14 @@ CKEDITOR.plugins.add( 'table', } ); } + editor.on( 'doubleclick', function( evt ) + { + var element = evt.data.element; + + if ( element.is( 'table' ) ) + evt.data.dialog = 'tableProperties'; + }); + // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) {