HubSpot / messenger

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

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

Open ralphbean opened 8 years ago

ralphbean commented 8 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 8 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 8 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; }