Rich Text Editor demo

This example show how to use exclude parameter with the RichTextEditor mixin.
This parameter is used as a comma-separated list of button names to be removed from the default editor toolbar.
In this example, we excluded forecolor, and backcolor buttons.

Available button names are:
bold, italic, underline, justifyleft, justifycenter, justifyright, createlink, undo, redo, insertunorderedlist, insertorderedlist, heading, forecolor, backcolor.

In Action

Submitted text :

TML Source code

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

Java code

        private String rte;