I modify the table dialog window in my config.js like the following code:
when I insert a table from toolbar,the table properties dialog window is ok, my setting is runing.
but when I double clicked a table that I inserted in ckeditor, the dialog window become the old defualt UI,
my setting is NOT runing? why??
sorry.I know. the double clicked dialog name is 'tableProperties'
CKEDITOR.on( 'dialogDefinition', function( evt )
{
var dialogName = evt.data.name;
var dialogDefinition = evt.data.definition;
if ( dialogName == 'table' )
{
//remove no use tab
dialogDefinition.removeContents( 'advanced' );
// Get a reference to the "Link Info" tab.
var infoTab = dialogDefinition.getContents( 'info' );
infoTab.remove( 'txtCaption' );
infoTab.remove( 'txtSummary' );
//set dialogDefinition
dialogDefinition.minHeight=CKEDITOR.env.ie ? 220 : 200;
}
when I insert a table from toolbar,the table properties dialog window is ok, my setting is runing.
but when I double clicked a table that I inserted in ckeditor, the dialog window become the old defualt UI,
my setting is NOT runing? why??
sorry.I know. the double clicked dialog name is 'tableProperties'
