BBCODE EDITOR IS BUGGY. PLEASE FIX.

FranzJoseph

Ars Centurion
3,827
Subscriptor
Hasn't it been like that for, like, almost a year now? I thought that was just how it was.
Introduced in some summer 2025 update, I think (at least I reported it back then):

/civis/threa...a-cr-lf-after-each-character-or-word.1508551/

But on XenForo's own forums similar bugs have been reported at least a decade back.

Yeah I'm unclear what the deal is. The
Code:
[sub] and [sup]
tags work just fine. What is this
Code:
>> thing <<
supposed to do normally that isn't starting a quote in a weird way?
The bug is when you highlight some text and then use the custom editor menu to make it subscript or superscript. Only then does it adds spurious line breaks.

Like this, all written inline without any breaks originally –

subscript



superscript

– selected each and used the editor menu to make them sub and super.
 
  • Like
Reactions: Kyuu

Aurich

Approximate Knowledge of Many Things
43,480
Ars Staff
Thank you for the follow ups, because the ALL CAPS TITLE and confusing post were singularly unclear. 😂

Yes, this is a bug with XenForo, not something we're doing wrong, or that I can just adjust with a setting. That said, Jason said he might be able to do something about it when we upgrade.

So filing this one under "see what we can do!" but not urgent or promising anything.
 

FranzJoseph

Ars Centurion
3,827
Subscriptor
Thank you for the follow ups, because the ALL CAPS TITLE and confusing post were singularly unclear. 😂

Yes, this is a bug with XenForo, not something we're doing wrong, or that I can just adjust with a setting. That said, Jason said he might be able to do something about it when we upgrade.

So filing this one under "see what we can do!" but not urgent or promising anything.
I have since made up some Mac text replacements and dead keys to add [sub] [/sub] to easily add the BBCode there.

FYI or Jason's, some of the similar XenForo bug reports mentioned a common.[something] file or something like that, which I guess defines the menu and its functions? No idea if that helps.
 

Shavano

Ars Legatus Legionis
71,665
Subscriptor
Yeah I'm unclear what the deal is. The
Code:
[sub] and [sup]
tags work just fine. What is this
Code:
>> thing <<
supposed to do normally that isn't starting a quote in a weird way?
I kind of expect that unless I'm putting in bbcode tags, what I type is literal. But that's not how the editor works.

when you press the superscript or subscript buttons, the editor adds in line feeds you didn't ask for.
I don't understand why someone might have intended for them to work that way.

example
If you
take this1,
highlight the 1 and press the subscript tag
you get
take this
1
,
instead of what I intended, which was this
take this1,

edit: thanks for the info, Aurich. It's not easy for us on the user end to tell what is under your control with settings and implementation and what is just a consequence of how XENFORO works.
 
Last edited:
  • Like
Reactions: Defenestrar