X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fapi_dialog.html;h=262062578bc44eb317b34bc053a51a39e3405fab;hp=7d5056e08315752ba15a086cbb2ea5b455ac006e;hb=941b0a9ba4e673e292510d80a5a86806994b8ea6;hpb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d diff --git a/_samples/api_dialog.html b/_samples/api_dialog.html index 7d5056e..2620625 100644 --- a/_samples/api_dialog.html +++ b/_samples/api_dialog.html @@ -1,29 +1,29 @@ - Sample - CKEditor - + Using API to customize dialogs - CKEditor Sample + - + - +

@@ -110,19 +111,20 @@ CKEDITOR.on( 'dialogDefinition', function( ev )

- This sample shows how to use the dialog API to customize dialogs whithout changing - the original editor code. The following customizations are being done::

-
    -
  1. Add dialog pages ("My Tab" in the Link dialog).
  2. -
  3. Remove a dialog tab ("Target" tab from the Link dialog).
  4. -
  5. Add dialog fields ("My Custom Field" into the Link dialog).
  6. -
  7. Remove dialog fields ("Link Type" and "Browser Server" the Link dialog).
  8. -
  9. Set default values for dialog fields (for the "URL" field in the - Link dialog).
  10. -
  11. Create a custom dialog ("My Dialog" button).
  12. -
- - +