edit-on Pro editable elements 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.
  • 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.
  • The editor configuration can be seen in the config.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