A highlighter is a Content -> Content function that you can inject into the model using setHighlighter.
The function should modify the highlightClasses, highlightIndent, or highlightStyling fields of the elements.
Each string x in highlightClasses turns into Html.(Styled.)Attribute.class x.
Each (x,y) in highlightStyling turns into Html.(Styled.)Attribute.style x y.
Attributes of LineBreaks apply to the paragraph (the previous non-linebreak elements) as a whole.
You can embed any html node using this type. The RTE will only be able to delete or copy/paste these elements.
An empty div.
CharacterLimitReached int -- get notified if too much text is entered | FromBrowserClipboard String -- see package description | Internal msg -- not part of the API | ToBrowserClipboard String