Hello friends, I need to assemble a text marker using flutter_html, basically the user selects a text area, the SelectionArea captures the text part and I add a span around the text. The marker works. But the problem is that if the user marks a word or phrase that is repeated throughout the text, he will mark it several times. I need it to be just in the region he selected.
Then I ask: is there any possibility of copying the HTML code via SelectionArea or SelectableHtml or knowing the range (beginning and end of the markup)?
Hello friends, I need to assemble a text marker using flutter_html, basically the user selects a text area, the SelectionArea captures the text part and I add a span around the text. The marker works. But the problem is that if the user marks a word or phrase that is repeated throughout the text, he will mark it several times. I need it to be just in the region he selected.
Then I ask: is there any possibility of copying the HTML code via SelectionArea or SelectableHtml or knowing the range (beginning and end of the markup)?
Grateful!!
Sorry for my English, I translated the message.