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

Grabs a piece of code #3

Open
aerohub opened this issue Jun 27, 2017 · 3 comments
Open

Grabs a piece of code #3

aerohub opened this issue Jun 27, 2017 · 3 comments

Comments

@aerohub
Copy link

aerohub commented Jun 27, 2017

Приветствую!
Захватывает код вместе с текстом, (на демо воспроизводится, если выделяются последние слова). Без кода было бы лучше. Спасибо.
2017-06-27_00001

UPD (in English): Script grabs a piece of code with the highlighted text. (marked pink on screenshot)

@dimaip
Copy link
Member

dimaip commented Jun 27, 2017

Thanks, I'll reply in English so others could follow. I'm aware of this issue, but didn't get around to fixing it. I'm using document.getSelection().toString() to get the highlighted text snippet. Do you have ideas how to get it without contents of script tags?

@aerohub
Copy link
Author

aerohub commented Jun 27, 2017

Well, I have no solution, but may be this will help?

@dimaip
Copy link
Member

dimaip commented Jun 27, 2017 via email

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

2 participants