backdrop-ops / forum.backdropcms.org

The Forum for BackdropCMS.org.
https://forum.backdropcms.org/
4 stars 10 forks source link

CKE5 problem: code styles not available #148

Open argiepiano opened 4 months ago

argiepiano commented 4 months ago

Since a couple of days ago, the Forum now uses CKE5. The problem I'm seeing is that it's impossible to select the Styles: Code block. Those are grayed out:

Screen Shot 2024-03-09 at 8 18 54 AM

And if you choose the PHP style, this is equivalent to the old "inline PHP" style, and the result includes blank lines in between each line of code.

Screen Shot 2024-03-09 at 8 21 21 AM

In short, with CKE5 it has become impossible to paste well-formatted code.

BTW: is there any way to use markdown in the forum. This would be A-MA-ZING!

olafgrabienski commented 1 week ago

In short, with CKE5 it has become impossible to paste well-formatted code.

There's a related report in a forum comment, see https://forum.backdropcms.org/forum/snazzy-theme-help-needed-photo-not-displaying-correctly?page=0%2C0#comment-6731.

argiepiano commented 1 week ago

There is a workaround to my posting above - you can select Markdown as one of the text styles, and that allows you to post well formatted code. This allows you do use markdown in the message. However, I don't know if there is a workaround for the forum comment you pointed out.