We only set the grapheme segmenter's text once after creating a new segmenter, so we also need to clear it whenever we invalidate the text.
2 lines
40 B
HTML
2 lines
40 B
HTML
<!DOCTYPE html><textarea>a
|
|
b</textarea>
|