-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disables "quote selected text" feature #1
Labels
bug
Something isn't working
Comments
alxndr
added a commit
that referenced
this issue
Nov 1, 2023
this may be what's conflicting with other features of Discourse [#1]
alxndr
added a commit
that referenced
this issue
Mar 9, 2024
* set some HTML classes during decoration * document some things * rename a function [#1]
alxndr
added a commit
that referenced
this issue
Mar 9, 2024
* set some HTML classes during decoration * document some things * rename a function [#1]
Closed
alxndr
added a commit
that referenced
this issue
Mar 24, 2024
the quote button is from |
alxndr
added a commit
that referenced
this issue
Mar 25, 2024
alxndr
added a commit
that referenced
this issue
Mar 25, 2024
This was referenced Mar 27, 2024
it's hitting this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Normally when a user is reading a post, and the "default other enable quoting" option is on (terrible name), they can select/highlight some text in a post, and then a popup appears next to / above the selection with a "Quote" button (and maybe other buttons too). If the user clicks this button, a new reply to the post is started (or existing draft is amended) containing
[quote="..."]...[/quote]
in the body.Turning the plugin off will restore the "Quote" button popup behavior.
Note that these errors/warnings are not interfering with the correct behavior:
![Screenshot of JS console with warnings and errors](https://private-user-images.githubusercontent.com/174307/317607106-aeee584f-4df4-47d0-8d77-672825d86836.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3Nzk1NTYsIm5iZiI6MTczOTc3OTI1NiwicGF0aCI6Ii8xNzQzMDcvMzE3NjA3MTA2LWFlZWU1ODRmLTRkZjQtNDdkMC04ZDc3LTY3MjgyNWQ4NjgzNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxN1QwODAwNTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kN2MwOWFkYmIxY2M0M2RkMjM5YWRjMzdhOTExYzFhODIwYjE0NTlkNDQ1MWZmNWI5OWM3OGJiZWFhYTFmZjM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.plyD5x5WIgDsOzqFqnmAmbFH-dV8X99Rxh4492brSCk)
Buggy behavior
With v0.2.2 (and maybe earlier), in Discourse v3.3.0.beta1:
q
keyboard shortcut does not start the new reply at all, never mind with the quote;Working correctly
Entering the
[quote]
code manually in a reply to the topic is still working as expected.The
j
/k
keyboard shortcuts (navigating down/up in the thread and selecting a topic), and then pressingq
, does work to create a new reply and quote the entire selected post.More
Discourse stuff...
app/components/post-text-selection-toolbar.gjs
app/components/post-text-selection.gjs
app/lib/plugin-api.gjs
potentially related
prior art (note that we use Discourse
3.3.X-betaY
)The text was updated successfully, but these errors were encountered: