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

[feature request] make tooltip text selectable. #526

Open
trusktr opened this issue Nov 10, 2018 · 0 comments
Open

[feature request] make tooltip text selectable. #526

trusktr opened this issue Nov 10, 2018 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Nov 10, 2018

It is super convenient to be able copy text inside a tooltip (f.e. lint messages, type errors, etc).

No matter what I try with user-select, I cannot make the text selectable. For example, I have this in my stylesheet:

#linter-tooltip {
	user-select: text;
	* { user-select: text; }
}

but it won't work. Me thinks there is an event.preventDefault() call somewhere.

I really like that in atom-ide when I hover on the gutter icons and reveal the gutter tooltips, I can select the text. It is convenient for searching on Google, or messaging the error to a colleague who may know about it, etc.

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