- Sample - CKEditor
-
+ Using API to Customize Dialog Windows — CKEditor Sample
+
-
+
-
+
-
- CKEditor Sample
+
+ CKEditor Sample — Using CKEditor Dialog API
+
+
+ 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 fields – "Link Type" and "Browse Server" 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.
+
+
+
+
-
- This sample shows how to use the dialog API to customize dialogs whithout changing
- the original editor code. The following customizations are being done::
-
-
Add dialog pages ("My Tab" in the Link dialog).
-
Remove a dialog tab ("Target" tab from the Link dialog).
-
Add dialog fields ("My Custom Field" into the Link dialog).
-
Remove dialog fields ("Link Type" and "Browser Server" the Link dialog).
-
Set default values for dialog fields (for the "URL" field in the
- Link dialog).