mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 23:50:11 +08:00
51016e56dd
Merges the design experiment at https://meta.discourse.org/t/post-quote-copy-to-clipboard-button-feedback/285376 into core. This adds a new button by default to the menu that pops up when text is selected in a post. The normal Quote button that is shown when selecting text within a post will open the composer with the quote markdown prefilled. This new "Copy Quote" button copies the quote markdown directly to the user’s clipboard. This is useful for when you want to copy the quote elsewhere – to another topic or a chat message for instance – without having to manually copy from the opened composer, which then has to be dismissed afterwards. An example of quote markdown: ``` [quote="someuser, post:7, topic:285376"] In this moment, I am euphoric. [/quote] ``` |
||
---|---|---|
.. | ||
cloud/cloud66 | ||
environments | ||
initializers | ||
locales | ||
application.rb | ||
boot.rb | ||
cdn.yml.sample | ||
database.yml | ||
deploy.rb.sample | ||
dev_defaults.yml | ||
discourse_defaults.conf | ||
discourse.config.sample | ||
discourse.pill.sample | ||
environment.rb | ||
logrotate.conf | ||
multisite.yml.production-sample | ||
nginx.global.conf | ||
nginx.sample.conf | ||
projections.json | ||
puma.rb | ||
routes.rb | ||
sidekiq.yml | ||
site_settings.yml | ||
spring.rb | ||
thin.yml.sample | ||
unicorn_launcher | ||
unicorn_upstart.conf | ||
unicorn.conf.rb |