Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format piece of text programmatically based on first-last character indices of the raw text #196

Open
bartonaz opened this issue Jul 10, 2016 · 0 comments

Comments

@bartonaz
Copy link

bartonaz commented Jul 10, 2016

  1. 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?
  2. 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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant