X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Ftable%2Fplugin.js;h=d1c60a8b6c699e7ece9414cdead5336be59e864d;hp=2feaeb109c5e3ffd975772834db811d5f875bca9;hb=f8fc585c18d287eb325c575596d183122486b641;hpb=8665a7c6c60586526e32e8941fe2896739b6ebfb diff --git a/_source/plugins/table/plugin.js b/_source/plugins/table/plugin.js index 2feaeb1..d1c60a8 100644 --- a/_source/plugins/table/plugin.js +++ b/_source/plugins/table/plugin.js @@ -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 ) {