Bar with markers for choosing how text will be highlighted in a highlighter.
view : { onSelect : Maybe tag -> msg, getNameAndColor : tag -> { extras | name : String, colorSolid : Css.Color, colorLight : Css.Color }, highlighterId : String } -> { model | currentTool : Maybe tag, tags : List tag } -> Html.Styled.Html msg
View renders each marker and an eraser. This is exclusively used with an interactive Highlighter, whose id you should pass in when initializing the HighlighterToolbar.
onChangeTag
and onSetEraser
with onSelect
.highlighterId
to config