XF 2.1 Font Awesome 5, Editor button management, Markdown support and more!

We did say we'd see you again fairly soon and so here we are, hot on the heels of our push notifications announcement, to bring you an update on several more new features and improvements coming in XenForo 2.1.

Remember, to ensure you're kept up to date, we strongly recommend smashing the "Watch forum" link here and enabling email notifications if you haven't done so already 🙂
 
We're licensed to use Font Awesome 5 Pro, too, incidentally, so that is what is included, rather than the free version.

There's no way for us to provide their CDN functionality, unfortunately, but we are ok to provide it locally with the XenForo download under our license.
 
Tables!

There is often an assumption that when we use a rich text editor such as Froala that we can automatically support all of its features. That would certainly make life easier, but unfortunately rich text editors produce HTML and we therefore have to convert any HTML to BB code on save and back again for rendering.

Therefore there are significant barriers in introducing some features, but we feel that there's enough support for tables that we should bring them to you in XF 2.1 🙂

View attachment 185255

You can of course write the BB code manually, which most likely uses a familiar syntax if you're familiar with HTML tables. Here's a snippet of the above:

Code:
[TABLE]
[TR]
[TH]Version[/TH]
[TH]Release date[/TH]
[TH]Last release[/TH]
[/TR]
[TR]
[TD]1.0[/TD]
[TD]March 8, 2011[/TD]
[TD]1.0.4 - July 12, 2011[/TD]
[/TR]
[/TABLE]

But, of course, it's probably easier just to use the newly built-in "Insert table" button!

View attachment 185256

We also have to extend a huge thanks to @Steffen here who helped out with some of the code for the TABLE BB code.
Will table cells be able to span over multiple columns?
 
Yay, these are some great enhancements...

I can also finally change my editor icons like I used to have them a couple years ago, with a much easier method!

Example:
editor1.webp
editor2.webp
 
Actually we don’t really provide a way to do that.

I’m fairly sure it’s not impossible anyway as it is. It’d just need some clever CSS.
 
Could be, but media gallery seems be the 3rd icon starting right on the available buttons toolbar.
If you're right: Well spotted :)
Right about what?

The media gallery button is the 3rd icon on the right because that’s where buttons from the custom BB code system appear in the available buttons.

It’s in the middle on the actual toolbar (where it is now) just because that’s traditionally where we insert custom BB code buttons.

I suspect you’re reading too much into it, but if I can clarify something then happy to do so.
 
Top Bottom