With the 'Image' dialog as an example, how do I assign default values to the fields (and then disable them)...?
I don't want my users to specify image size, padding, and alignment. How can I assign those fields the values I want and then disable them so the user cannot change the settings?
I don't want my users to specify image size, padding, and alignment. How can I assign those fields the values I want and then disable them so the user cannot change the settings?
Re: Setting default values for dialog fields
In order to define a default value, add the 'default' parameter to a dialog window field definition, like in the sample below:
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!