edit-on Pro Custom DTD Sample
This sample demonstrates the usage of a custom DTD in combination with a CSS style sheet which defines special properties for the custom tags: headline, readonlyinline, pagebreak and signature. The style sheet references e.g. read-only behaviour and custom Java/JavaScript actions which are applied to the custom tags. The resources (Java class / JavaScript function) for the custom actions are referenced within the uiconfig.xml file.
Your name:
Company name:
Address:
ZIP/City:
WWW:
The content from the input fields on the left will be inserted into the editor using a custom action "setSignature". The Signature can be inserted by right-clicking on the <signature> custom tag and selecting "Set Signature" from the context menu.

  • The readme file includes background knowledge required to use custom tags.
  • The template file that is loaded into the editor can be seen here.
  • The sample document (including custom elements) that is loaded into the editor can be seen here.
  • Toolbar and menu configurations can be seen in the uiconfig.xml
  • The custom DTD extends the XHTML 1.0 Transitional DTD with custom tags.
  • A CSS file containing styles for text contents and custom tags.
Back to Samples Index