- Affected version
- 2.3.13
I've found a reliable way to reproduce the unexpected [COLOR] BBCode issue.
Reproduction steps
A color tag is unexpectedly added to part of the remaining text, for example:
Expected result
Replacing selected text must not apply an explicit text color to any part of the message.
Additional findings
I can reproduce this on Android, but not on Windows.
The inserted RGB value appears to match the editor's computed default text color. This would explain why:
I've attached a video demonstrating how to reproduce the bug.
Reproduction steps
- Open the XenForo rich-text editor in Chrome on Android.
- Enter multiple lines of text.
- Select one or more lines.
- Replace the selected text by typing directly using the Android on-screen keyboard.
- Submit the message or switch to BBCode mode before submitting.
A color tag is unexpectedly added to part of the remaining text, for example:
Expected result
Replacing selected text must not apply an explicit text color to any part of the message.
Additional findings
I can reproduce this on Android, but not on Windows.
The inserted RGB value appears to match the editor's computed default text color. This would explain why:
- the color is always the same within a particular forum/style;
- different forums produce different RGB values;
- the problem is usually only noticed by users of the opposite color variation;
- text written in a light style receives a dark explicit color and becomes difficult to read in dark mode.
I've attached a video demonstrating how to reproduce the bug.
Attachments
Last edited: