Deprecated

Starting from Webix 11.1 the RichText control is deprecated. Use the Rich Text Editor widget instead.

RichText

API Reference

Overview

Webix RichText control presents a handy WYSIWYG editor for entering, editing and formatting text.

Image

Initialization

To initialize a RichText control, you need to apply the configuration below:

webix.ui({
    view: "richtext",
    id: "richtext1",
    label: "My Label",
    labelPosition: "top",
    value: "Some text"
});

Related sample:  Rich Text

Main properties

  • label (string) - text label of a control. It can be customized by:
    • labelAlign (string) - defines alignment of the label towards its container. Possible values are "left" and "right". Anyway, it's placed to the left of the control;
    • labelWidth (number) - sets the width of the label container. 80 by default;
    • labelPosition (string) - defines the label position relative to the input field. There are two possible values: "left" (the default one) and "top".
  • value (string) - the initial value for the RichText field.
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.