Closed [img align=right] in editor visually appears to escape wrapping bb-code

Xon

Well-known member
Licensed customer
Affected version
2.2.13
Suppose you have the following bb-code

[spoiler][IMG align="right" width="300px"]https://xenforo.com/community/styles/default/xenforo/xenforo-logo.svg[/IMG][/spoiler]


If you toggle the bb-code mode on/off (or edit after posting), this visually becomes:

[spoiler][/spoiler][IMG align="right" width="300px"]https://xenforo.com/community/styles/default/xenforo/xenforo-logo.svg[/IMG]


This applies for custom text replacable bb-codes as well.

It actually saves as the correct value, but it can be confusing for users
 
Automated triage: Design issue

Thank you for reporting this issue. In the editor, the spoiler tags are shown as plain text, and an aligned image floats to the side of the text line. So the image looks like it sits outside the tags, while the post itself keeps the image inside them, as you noted. Changing how these mix in the editor is a design decision rather than a bug fix.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom