# Quote not working if I get the whole sentences...again, with triple click on Firefox

**URL:** https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066
**Category:** Bug
**Tags:** pr-welcome
**Created:** [14 oktober 2017 om 11:42 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066 "2017-10-14T11:42:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [14 oktober 2017 om 11:42 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/1 "2017-10-14T11:42:12Z")

</div>

Continuing the discussion from [Quote not working if I get the whole sentences](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences/71662):

> [@Quote not working if I get the whole sentences](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences/71662/1):
>
> if I get the whole sentences, by double clicking on some part of the sentences, when I click on the quote, the reply editor doesn’t appear (sometimes).
> 
> shown in the red circle in the image:

It happens again here on Discourse, on my forum that is still in version 1.9.0.beta12 +21, updated after the fix made by @eviltrout, it continues to work.

The problem is on Firefox 56.0.1, no issue with Chrome.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [14 oktober 2017 om 12:13 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/2 "2017-10-14T12:13:36Z")

</div>

You mean triple-click to select the entire paragraph.

When the entire paragraph is selected via triple-click, pressing the Quote button does nothing.

When the entire paragraph is manually selected, pressing the Quote button works.

Still occurs on Meta as well as latest build.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [14 oktober 2017 om 12:45 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/3 "2017-10-14T12:45:05Z")

</div>

This is true but only with Firefox. On chrome everything works well (triple click and select manually a sentence).

I will update the title

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [14 oktober 2017 om 22:37 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/4 "2017-10-14T22:37:19Z")

</div>

Unfortunately it’s not an easy problem to fix. We’ve tried multiple times to fix it but it keeps breaking for some reasons…

Feel free to take a stab ⚔ at it though 😉 (#pr-welcome)

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [15 oktober 2017 om 02:30 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/5 "2017-10-15T02:30:51Z")

</div>

What has been the problem preventing the quoting?

I suppose if the quote button appears, it is a matter of checking what is included in the selection that throws it off?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [15 oktober 2017 om 04:02 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/6 "2017-10-15T04:02:47Z")

</div>

> [@schungx](#):
>
> What has been the problem preventing the quoting?

AFAIK, it has to do with the way Firefox works with the clipboard. I don’t know if the security fixes have become stable enough to make working on it worthwhile, but I’d hope so.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15 oktober 2017 om 07:40 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/7 "2017-10-15T07:40:06Z")

</div>

Something about the double/triple-click selection which makes the selection go past the boundaries of what’s selectable and thus preventing the quote button to show. We could use another css selector but that would mean displaying the quote button when you highlight the buttons under the post…

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [15 oktober 2017 om 08:25 UTC](https://meta.discourse.org/t/quote-not-working-if-i-get-the-whole-sentences-again-with-triple-click-on-firefox/72066/8 "2017-10-15T08:25:54Z")

</div>

Well, thing is, the Quote button DOES appear and is clickable.

Clicking on it merely does nothing.
