mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
Reimplemented following the revert in ce0daae636727c40ac9b483e0aff8aab034c6f55 This approach uses the global `e`/`q` shortcuts, rather than shifting focus to the `quote-button` component. The current `quoteState` is used to determine whether the quote-button is currently visible. If yes, an appEvent transmits the intention to the quote-button component. If no, the old behavior is maintained. Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>