Froala with XenForo: unexpected line breaks (or new lines) and other peculiarities when editing

Does anyone else have this issue, in recent days?

Examples:
  1. when I select text then use the editing toolbar to apply CMD markup, the markup no longer appears alongside the selection (instead, it's above and below)
  2. when I select text then paste plain text that does not begin with a line break, there's a break.
Example 2, before and after pasting, is pictured in the attached screenshots.



I have the issue with both Chromium, and Firefox (pictured), from latest packages of ports.

Code:
% pkg iinfo ^chromium firefox
chromium-120.0.6099.224
firefox-122.0_3,2
% zgrep firefox /var/log/messages.1.bz2
Jan 25 04:38:08 mowa219-gjp4-zbook-freebsd pkg[18402]: firefox upgraded: 122.0,2 -> 122.0_3,2
% uname -KU
1500012 1500012
% pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0,
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest",
    enabled         : no,
    priority        : 0,
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    priority        : 3
%
 

Attachments

  • 1706578344496.png
    1706578344496.png
    183.9 KB · Views: 123
  • 1706578384768.png
    1706578384768.png
    234.6 KB · Views: 116
How can I tell which version of XenForo is running?
That's probably not something the administrators want to make public - if it's easy to find a website is running "XYZ 1.45" and anything prior to "XYZ 1.5" has horrible security vulnerabilities - then it's a not a good idea to advertise the version that is facing the internet.

NOT saying that's the case here - just saying that it might be obscured for good reasons.
 
Thanks,

I can confirm that there appear some extra linebreaks here, too.

Are these, extras that did not previously occur?

Which browser(s) and OS?

I might have seen an extra break yesterday in another app (unrelated to the Forums). Still trying to get my head around the contexts.
 
Here:

Code:
% freebsd-version -kru ; uname -aKU
15.0-CURRENT
15.0-CURRENT
15.0-CURRENT
FreeBSD mowa219-gjp4-zbook-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n267824-0dd5a5603e7a-dirty: Sun Jan 28 17:40:54 GMT 2024     grahamperrin@mowa219-gjp4-zbook-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1500012 1500012
%

PMc what's your OS? Sorry, it took me a while to understand R. 13.2. Got it now.

Port packages from quarterly or latest?
 
Port packages from quarterly or latest?
Self-compiled from quarterly.

Chromium and Otter appear like firefox. Midori is also different insofar as the editor feature-bar is only visible when the window is selected, while in the others it is always visible.
I'm not sure if this editor is a derivative of the legendary Fck-editor (nowadays: Ckeditor)...
 
I haven't found time to investigate properly.

Another peculiarity that might fall under the same umbrella:
  1. double click plain text … (an ellipsis) at the tail of a paragraph
  2. Control-C
  3. click at the beginning of the paragraph
  4. Control-V
Expected:
  • paste
Result:
  • paste as a quote
Workaround:
  • at step 2, do not simply copy, instead use an extension to explicitly copy plain text.
 

Attachments

  • 1709097083954.png
    1709097083954.png
    49.9 KB · Views: 88
  • 1709097131303.png
    1709097131303.png
    30.7 KB · Views: 91
Begin with this, for example:

Code:
blah blah blah:

[QUOTE]
Linux is mature now. So, for that matter, are the main BSDs, and even Windows and macOS. They are not changing that radically any more, and they are steadily dropping support for older hardware… but the sheer quantity of code involved hinders real innovation.
[/QUOTE]

Add the letter X after innovation, then use keyboard shortcuts to copy and paste the letter to the beginning of the quote.

The result with XenForo at The FreeBSD Forums:

1709524008526.png


The result with XenForo at TrueNAS Community:

1709524099859.png




There's some weirdness that's specific to editing features at The FreeBSD Forums.

Not reproducible with the button for ICODE in either instance of XenForo.

At a glance:
  • buttons that are bugged in The FreeBSD Forums do not exist in the editor at TrueNAS Community.
 
Still broken with XenForo here.

No longer broken in XenForo Community: "… fixed in the most recent release of Froala. …".

Please, is there a timeline to fix this in The FreeBSD Forums?



Fixing each and every breakage is tiresome.

Three breakages below, then I stopped bothering – plain text for four of the seven filenames.

1724745148112.png
 
Still broken, the Filename button for
[FILE]
:

1729428261388.png


– and the Prevent text parsing button (spanner icon) for
[NOPARSE]
:

1729428352111.png
 
Hi, there is another update planned in a near future. If that doesnt fix it automagically I will have a look.
 
Hi, there is another update planned in a near future. If that doesnt fix it automagically I will have a look.

Thanks!

For now, I'm very happy that the paste bug seems to be fixed.

(I'm back down from twelve keystrokes, to eight, for a pair of ellipses. Muscle memory, iBus etc..)
 
Back
Top