Opened 14 months ago
Closed 11 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
@
14 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
@
13 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.
13 months ago
#7
@
13 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.
12 months ago
#9
@
12 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
@
12 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 abondened. 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
@
11 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 for all)
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
@
11 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.