This sample shows how to use the
CKEditor Dialog
API
to customize CKEditor dialog windows without changing the original editor code.
The following customizations are being done in the example below:
- Adding dialog window tabs – "My Tab" in the "Link" dialog window.
- Removing a dialog window tab – "Target" tab from the "Link" dialog window.
- Adding dialog window fields – "My Custom Field" in the "Link" dialog window.
- Removing dialog window field – "Link Type" in the "Link" dialog window.
- Setting default values for dialog window fields – "URL" field in the "Link" dialog
window.
- Creating a custom dialog window – "My Dialog" dialog window opened with the "My
Dialog" toolbar button.
For details on how to create this setup check the source code of this sample page.