THtmlArea5

API Manual

THtmlArea5 is a newer version of the THtmlArea component, based on TinyMCE version 5. Please refer to THtmlArea for basic usage.

THtmlArea5 provides the WYSIWYG feature by wrapping the functionalities provided by the TinyMCE project version 5.

The default editor tries to mimic THtmlArea's old style and behaviour, disabling the menubar and permitting the resize of the editor in both directions. To enable the menubar or change any other aspect of the editor layout, use the Options property to add additional editor options with each options on a new line. See TinyMCE website for a complete list of options. The following example displays a menu specific for HTML table manipulation,

<com:THtmlArea>
  <prop:Options>
    plugins: "table"
    menubar: "file edit table"
  </prop:Options>
</com:THtmlArea>