Each custom tag has an ezcontent property, that contains the tag's main content. Until v2.3.0, it is not editable in the UI, and is used to store the output/preview of a tag.
It must be made editable using a textarea. In this iteration, the textarea must be added to the custom tag editing tooltip. In a further version, it should be editable directly from the Rich Text Editor.
For extensibility purpose, an extension mechanism should be included, so that the tag's content can be tampered with:
- when it is saved to state, before it get previewed in the RTE
- before it is restored from state to the textarea
A use-case for this is the implementation of the rawhtml custom tag, whose content is HTML that must be encoded.