Is it possible to get from the Medium instance the string of raw unformatted text, without any HTML tags, like DOM innerText property would do?
In case I have such string, either from Medium or directly through DOM, how is it possible to invokeElement when there is no actual text selected, but there are indices of the first and last characters (with respect to the raw text) of the string that should be invoked?
innerText
property would do?Medium
or directly throughDOM
, how is it possible toinvokeElement
when there is no actual text selected, but there are indices of the first and last characters (with respect to the raw text) of the string that should be invoked?