Class Tbeditor

    • Constructor Detail

      • Tbeditor

        public Tbeditor()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns editor's content with html format
        Returns:
        String
      • setValue

        public void setValue​(java.lang.String value)
        Sets the editor's content, and one can specify html tags to decorate the content
        Parameters:
        value - editor's content
      • getConfig

        public java.util.Map getConfig()
        Returns the current configuration
        Returns:
        Map
      • setConfig

        public void setConfig​(java.util.Map<java.lang.String,​java.lang.Object> config)
        Sets the editor's configuration,

        For more detail, please refer to official document (not support localization for now).

        We have to pass a Map as parameter that key is option name, value is option's possible value.

        Because this functionality only works before widget bind, it will invalidate component every time we change the config rather than smart update.

        Parameters:
        config -
        See Also:
        official document