pCon.basket - Plugin Development
    Preparing search index...

    Interface EaiwsRichTextEditorProps

    interface EaiwsRichTextEditorProps {
        additionalActions?: Action[];
        availableFormattingOptions?: FormattingOptions;
        characterLimit?: number;
        className?: string;
        disableFormatting?: boolean;
        infoText?: string;
        label?: string;
        multiline?: boolean;
        onChange?: (pNewValue: string) => void;
        readonly?: boolean;
        textBlocks?: TextBlock[];
        translatorLanguage?: string;
        value?: string;
    }
    Index
    additionalActions?: Action[]

    Additional actions to be shown in the toolbar.

    availableFormattingOptions?: FormattingOptions

    Formatting options which are available in the editor. All options are enabled by default.

    characterLimit?: number

    Maximum number of character of the rich text.

    className?: string

    custom css class for the editor

    disableFormatting?: boolean

    Set to true if the user should not be able to format the text.

    infoText?: string

    If provided an information icon will be shon next to the label.

    label?: string

    Label for the editor

    multiline?: boolean

    If true the editor supports entering multiple text lines.

    true
    
    onChange?: (pNewValue: string) => void

    Change handler for the editor. The new value is always using the EAIWS IML-JSON format.

    readonly?: boolean

    Set to true if the editor should be read only.

    textBlocks?: TextBlock[]

    List of predefined text blocks which may be inserted by the user.

    translatorLanguage?: string

    Target language for the AI translation. If undefined AI translator is unavailable.

    value?: string

    Current value of the editor. (Supported formats: plain text, EAIWS IML-JSON)