HubSpot / messenger

Growl-style alerts and messages for your app. #hubspot-open-source
http://github.hubspot.com/messenger/
MIT License
4.02k stars 406 forks source link

Possible to copy/paste text from a pop-up? #95

Open ralphbean opened 9 years ago

ralphbean commented 9 years ago

It would be nice to be able to select and copy text from a pop-up, but I don't seem to be able to on Chrome or Firefox.

Would it be possible to add this?

baoshan commented 9 years ago

Text selection is disabled by theme css (I have no idea why, actually). You can override it by:

ul.messenger-theme-your-theme {
  user-select: text;
}
ralphbean commented 9 years ago

:100:

Chris-KCIT commented 5 years ago

Works better if you only make the inner text copied (prevents close X from highlighting):

.messenger-message-inner { user-select:text!important; }