Interface RichTextConfigurationTag

All Known Implementing Classes:
StaticRichTextConfiguration.StaticRichTextConfigurationTag

public interface RichTextConfigurationTag
A tag configuration for a RichTextConfiguration
  • Method Details

    • getTag

      Get the tag name. Such as 'span'.
      Returns:
      The tag name. Cannot be empty or null.
    • onEmptyTag

      Determine the action to do when this tag is empty.
      Returns:
      The behavior. Cannot be null.
    • getSynonyms

      The tags that should be replaced by this one. For example, "b" should be replaced by "strong". Note that if "b" is handled otherwise, it will not be replaced.
      Returns:
      A non null set of tags.
    • getAttributes

      Get the attributes handled on this tag
      Returns:
      A non null set of attributes.