Text editor


Shows a rich text editor, capable of formatting text as well. The output of the editor will be stored as HTML in a string field.


Parameter Type Description
table boolean Adds tools for creating tables to the text editor
link boolean Adds buttons for creating links to the text editor
paste_from_word boolean Adds a button to paste content from word to the text editor. If you add text via this button, some characters which could cause troubles are removed.
height integer Sets the initialize height of the texteditor.
max_height integer Sets the maximum height to which the texteditor can grow.

Texteditor supports also all ckeditor config parameters in snakecase.


<property name="article" type="text_editor">
        <title lang="en">Article</title>

        <param name="table" value="true"/>
        <param name="link" value="true"/>
        <param name="paste_from_word" value="true"/>
        <param name="height" value="100"/>
        <param name="max_height" value="200"/>
        <!-- CKEditor Parameters examples: -->
        <param name="extra_allowed_content" value="img(*)[*]; span(*)[*]; div(*)[*]; iframe(*)[*]; script(*)[*]" />
        <param name="ui_color" value="#ffcc00"/>