Open rajanikanth05 opened 8 years ago
I'm using rangy-TextRange module's rangy.findText() to find and highlight text. I figured out that the findText() returns false for the text that has   space init.
Added fix https://github.com/timdown/rangy/pull/405
It seems to me you just need to use the character options. Specifically, the ignoreCharacters option.
ignoreCharacters
I'm using rangy-TextRange module's rangy.findText() to find and highlight text. I figured out that the findText() returns false for the text that has   space init.