Opened 7 years ago
Closed 7 years ago
#7724 closed defect (bug) (fixed)
at-mentions adds unexpected characters wrapped around username
Reported by: | mercime | Owned by: | djpaul |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Activity | Keywords: | has-screenshots has-patch |
Cc: |
Description (last modified by )
Tested so far on the Activity post form and the Messages > compose form: After selecting the username via mouse click or keyboard press Enter, the username shows up in input field with unexpected characters surrouding the username like so </>@matraca</>
Attaching gif of the issue.
P.S. Happens on bp-legacy and bp-nouveau
Attachments (2)
Change History (10)
#3
@
7 years ago
- Component changed from Core to Activity
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.0
#4
@
7 years ago
@djpaul Just tested the patch on MAMP
bp-nouveau: Patch works. Tested on Activity post form and Compose message form. New issue found on Activity reply form and Activity permalink reply where the at-who dropdown/container does not show up.
bp-legacy: Patch works on all forms mentioned above. No strange characters and the at-who container/dropdown shows up.
For 3.0, we've updated the mentions javascript libraries. We've had to update the config file for various upstream changes, and I think this might be another one.
I've attached a patch which removes these which were added specifically for TinyMCE compatibility in the wp-admin post editor (try it!).
We need to spend a bit more time testing that the at-mentions still works everywhere with this change.