XF 2.2 Text editor and attachment manager improvements

1596357822277.png
Central to the experience of interacting with forum software is the interface through which visitors will create their content. This is usually done through the text editor and attachment manager, so keeping these systems fresh and inspiring is very important to us.

From the outset, XenForo has employed a rich text editor (RTE) to allow visitors to compose their messages in a what-you-see-is-what-you-get (WYSIWYG) interface, so that bold text is shown emboldened, large text is appropriately large etc., rather than working directly with the underlying BB code in order to take the guesswork out of message editing. We've always built a custom implementation on top of what we consider to be the best-in-class tools, and through the life of the XenForo we have already made major switches to completely new libraries twice, moving from TinyMCE to Redactor and then to Froala.

With XenForo 2.2, we have made another major change to our implementation. We continue to build upon Froala, but we have improved every aspect of our system.

We'd love you to read what we've put down here, but if you're pushed for time...

tl;dr

 

Mendalla

Well-known member
Haven't watched the video yet (soon) but I like the editor improvements so far, esp. the Preview. It will probably be the most visible, out-of-box change for ordinary users of the ones we have seen to date (Search Forums, too, but that requires some admin work to configure whereas this is truly out-of-box). Looking forward to this one for sure.
 

Rudy

Well-known member
Great work but I'd prefer a Ribbon UI again to make sure all formatting and functionality was discoverable.
I'm sure we can style it to our liking. That's what is nice about the XF system--if we decide we want to restyle something, it's fairly simple to do. I keep an open mind though--I will launch with the new editor style but, given enough complaints, I can start looking at alternative LESS/CSS to start styling things a little differently. My forums skew older, so if they find it vague or too confusing, I will make improvements for their sake, even if I don't necessarily like them.
 

Mendalla

Well-known member
It would be great if there was a nice big "Cancel Button"
Many of my members complain that it is hard to cancel a post that they no longer want to post.
So we need 3 buttons..
Post Reply, Preview, Cancel

Post that in Suggestions if you haven't. I'll happily support it. Going to Save - Delete Draft as we do now is not the most intuitive way to get rid of an unwanted draft.
 

Mendalla

Well-known member
While I understand your opinion, I must disagree. Take a look at every reply to this thread and you'll see that a couple include images, one has italic formatting and a couple include hyperlinks. That's it. That's the extent of the formatting that most people want to use in forum posts.

There are of course power users who want to author much more complex content, but they are in a massive minority. Most users won't use the functionality of the RTE at all, so why would we burden them with a colossal bank of controls like Microsoft's ribbon? I totally agree that the ribbon is a good interface for MS Office applications, but for writing forum posts? Not so much.

I am still not overly fond of ribbons, to be honest, though the version they use in Outlook 365 has somewhat won me over. But I really like your explanation. An editor for forum posts really does not need to be that fancy. Just a simple row of commonly used features with an easy way to get to the rest. No one on my forum has ever complained about the editor and this just builds on what works about it, IMHO.
 

Alpha1

Well-known member
Post that in Suggestions if you haven't. I'll happily support it. Going to Save - Delete Draft as we do now is not the most intuitive way to get rid of an unwanted draft.
There are a dozen suggestions for this. Some quite popular. Some are marked implemented. Others not planned or lack of interest. I doubt that it makes sense to add yet another suggestion for the same thing.
 

DigNap15

Active member
There are a dozen suggestions for this. Some quite popular. Some are marked implemented. Others not planned or lack of interest. I doubt that it makes sense to add yet another suggestion for the same thing.
Woops.
I just posted a Suggestion for a Cancel button, before I saw your post above.
ifs its popular, let's hope that XF add it to 2.2
It can't be that hard.
 

Max

Well-known member
Please add a way to change default image insert method from uploading to linking in this menu.
I want both options to be there, but make the linking as the default option instead of uploading.

2020-05-21_145901.jpg
 
Last edited:

Chris D

XenForo developer
Staff member
There are a dozen suggestions for this. Some quite popular. Some are marked implemented. Others not planned or lack of interest. I doubt that it makes sense to add yet another suggestion for the same thing.
That one is implemented because it pertains to editing a post where there is a cancel button.
 

Mendalla

Well-known member
That one is implemented because it pertains to editing a post where there is a cancel button.

Thanks. It certainly is different from what @DigNap15 and I are talking about. We are basically looking for a single click item that clears the editor and deletes the draft if autosaved for new posts, not editing.
 
Top