Opened 13 months ago
Closed 10 months ago
#7320 closed defect (bug) (reported-upstream)
Autocomplete for usernames not working on Forum Editor
Reported by: | jordesign | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | |
Cc: |
Description
Previously there was an autocomplete for usernames that were already involved in an existing thread (triggered by typing @). For the last few days this seems to have ceased worked
Attachments (1)
Change History (15)
#3
@
12 months ago
I noticed this was gone too. I used it a lot and helps to ensure correct spelling of usernames so the correct people are notified of a reply. Having it back would be great, if possible.
#5
follow-up:
↓ 12
@
12 months ago
I think the plugin which calls this functionality needs updating - it appears like the editor textarea has changed (not sure if this was intentional).
This ticket was mentioned in Slack in #meta by felipeloureirosantos. View the logs.
12 months ago
#7
@
12 months ago
+1 on this as well. I was trying to use it this morning and thought the form was broken.
This ticket was mentioned in Slack in #forums by sterndata. View the logs.
11 months ago
#9
@
11 months ago
+1 It's a bit annoying to copy & and paste manually, specially when you provide support every day. It would be great if you could bring this feature back to the forums.
#12
in reply to:
↑ 5
@
11 months ago
Replying to paulkevan:
I think the plugin which calls this functionality needs updating - it appears like the editor textarea has changed (not sure if this was intentional).
I checked the source, but this would still match:
<textarea class="bbp-the-content wp-editor-area" rows="12" cols="40" name="bbp_reply_content" id="bbp_reply_content"></textarea>
It looks like the used JS (atwho/caret) are abandoned. The recommended replacement is TributeJS.
See this discussion at our friends from Nextcloud:
https://github.com/nextcloud/server/issues/14344
And this announcement:
https://github.com/ichord/At.js
Maybe a jQuery update broke it? Although I can't see any errors in the console ...
#13
@
10 months ago
The plugin mentioned here, wporg-bbp-user-mention-autocomplete
should no longer be in use (although if you're opt'd out of the block editor it still is used, and it's still enqueued)
The functionality has to be done via the Block Editor now, which Blocks-Everywhere has: https://github.com/Automattic/blocks-everywhere/blob/trunk/src/completer/topic-users.js
I don't see any customisations in our code for Blocks Everywhere, so it's likely a fully upstream issue: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-blocks.php
#14
@
10 months ago
- Resolution set to reported-upstream
- Status changed from new to closed
Oh, spotted the issue, submitted a PR upstream: https://github.com/Automattic/blocks-everywhere/pull/199
It would be nice to have this back. It's a very useful tool for moderators.