Heya, I'm working on a custom project and I wonder if I could edit the dialog boxes to either remove elements, or set new default values.
Basically, when I add a table I don't want it to use any html formatting. I just want it to add a css class and nothing else. It's a bit of a pain to edit all the details when I assume I can just as easily change the default values in the dialog box.
Cheers,
-Zed
Basically, when I add a table I don't want it to use any html formatting. I just want it to add a css class and nothing else. It's a bit of a pain to edit all the details when I assume I can just as easily change the default values in the dialog box.
Cheers,
-Zed

Re: Editing Dialogs
if ( dialogName == 'Table' ) { var propertiesTab = dialogDefinition.getContents( 'properties' ); var rowsField = propertiesTab.get( 'Rows' ); rowsField['default'] = '25'; }Though that didn't seem to change anything. Have I got the names wrong?
Re: Editing Dialogs
Re: Editing Dialogs
http://docs.cksource.com/CKEditor_3.x/Howto/Field_Names
http://docs.cksource.com/CKEditor_3.x/HowtoDialog Windows
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Editing Dialogs