elm-markup
elm-markup copied to clipboard
editor example - off-by-one bug when applying style to selection
Applying style does not affect the last character selected. Replacing end.offset
by end.offset + 1
in the SelectTo
branch of the update function (Main.elm) fixes the issue.