This is what I ended up doing. I wrote it in the js file instead of the plugin file, but I donβt think that would make a difference. I am using the built-in version of ckeditor 4.0.2
CKEDITOR.on('dialogDefinition', function(event) { var dialogName = event.data.name; var dialogDefinition = event.data.definition; //some code here if(dialogName == 'flash'){ // flash dialog box name //some code here dialogDefinition.onShow = function () { this.getContentElement("info","width").disable(); // info is the name of the tab and width is the id of the element inside the tab this.getContentElement("info","height").disable(); } } });
source share