Rich Text Editor demo

Description
This page displays a basic RichTextEditor.
This mixin has to be attached to a TextArea component.
It is bound to a Page variable to submit the value (parameter value).
It has to be enclosed inside a t:form component.


In Action

Submitted text :




TML Source code

        <t:form>
            <t:textarea t:id="rte" value="rte" t:mixins="exanpe/RichTextEditor" t:title="literal:Rich Text Editor">
            </t:textarea>
            <t:submit/>
            <br />
            <p>Submitted text :</p>
            <t:outputraw value="rte" />
        </t:form>
	



Java code

        @Persist(PersistenceConstants.FLASH)
        @Property
        private String rte;