The Rich Editor is the default editor on Vanilla. It allows for intuitive styling and formatting to posts and discussions.
It should be noted that older clients of Vanilla may still be using our Advanced Editor, and are allowed to upgrade at any time.
Rich Editor provides your users with familiar formatting tools. Here is a quick rundown of the functions that are currently available:
![The bold, italic, strikethrough, code, and link buttons](https://images.v-cdn.net/docs/richeditor_inlineformats.PNG
This first set of buttons allows you to add bold, italic, strike, code, or link formatting to selected text. This menu is dynamic and contextual, appearing wherever the user makes a selection. The following standard keyboard shortcuts also work when you have begun typing inside the editor.
⌘+b for bold.
⌘+i for italic.
⌘+k for link.
List are created by inputting
1., causing either numbers or bullet-points to mark each item in the list. After starting one of these two options, Rich Editor will jump you to the first point in your list. After writing the first point, hitting enter will bring you to the next point. Once you’re done with your list, just hit enter twice, and it will let you work on other aspects of your post.
Headings and Special Text Formatting
The block formatting menu provides a range of formatting options that take up 1 or multiple lines. Current formats include:
- Headings (level 1 and 2)
- Code Blocks
Once a spoiler is posted it’s contents will be hidden until their content is toggled. The spoiler format is always visible while editing a post, and can be interacted with once the post is published.
This button contains a list of emoji that can be used within a post. Rich Editor provides 1000s of emojis for all of users sorted into 8 different categories.
Users with permission to upload images can add images to their post using the image upload button next to the emoji picker. Alternatively images can be dragged into Rich Editor.
Users with permission to upload files can add files to their post for others to download. This can be done by clicking the ‘Paperclip’ icon at the bottom of the Rich Editor text box. Users can also upload files by dragging them directly into the Rich Editor.
Mentions are a popular feature that have been brought over from the old Advanced Editor that allow users to notify other users on your forum of certain comments and discussions that may interest them. Depending on that user’s notification settings, they’ll get a pop-up on the forum or an email telling them that they’ve been mentioned in a post and provide them a link to where. It’s a quick way to bring their attention to a certain place in a forum.
To make a mention, simply type an “@” sign then immediatly start typing the user’s name. A drop-down menu will appear with a list of possible users, then narrow down as you type the name out.
Mentions are sorted with case sensitivity and accents included to allow for more precise matching. It also has support for all characters except for the “@” sign.
Rich Editor supports embedding of external content within posts. Use the embed menu to transform a link into a rich content embed.
_Alternatively, pressing enter at the of a line containing only a link also attempt to create an embed from that link._
While we fetch the data for the embedded content, the link appears as a link with a loading indicator.
Once the embed is ready it will display in it’s final form directly in the editor.
If you embed a link from the same forum, or click on the “Quote” button, and embedded version of that content will be embedded in your post.
If the content is too long, an expand and collapse menu will be shown for that Rich Quote.
Rich Editor offers a beautiful link embed. It fetches titles, descriptions, and images from the linked URL and displays them in a sleek modern view.
Twitter links get transformed into embedded tweets.
Videos appear as a fast, responsive thumbnail, with the full video loading on when the play button is clicked. Rich Editor currently supports:
In additional to these types of embedded content, Rich Editor currently supports:
- Getty Images
Enabling Rich Editor
While Rich Editor is now the default editor for Vanilla Forums, older clients may still find themselves using existing posting formats such as “Markdown”, “BBCode”, and “HTML” from Advanced Editor.
If you are an administrator you can use the Rich Editor format by:
- Navigate to the Addons page.
- Toggle the Rich Editor (WIP) plugin.
Enabling Rich Editor will automatically make “Rich” your default post format. To change your format back, go to the Posting page in dashboard settings, or navigate directly to
What do I do with my existing Advanced Editor posts?
Rich Editor can function side by side with Advanced Editor. Leave Advanced Editor enabled in addition to Rich Editor, and older posts will still be editable using Advanced Editor.
Why am I getting an error message when I try to upload a file?
There are two common errors that can occur when uploading a file to the Rich Editor.
This error indicates that the file being uploaded is not currently allowed on the forum. If there is a specific file type that your site needs greenlisted, please reach out to Vanilla Support or your CSM to make the necessary change in your site’s configuration.
This error indicates that the uploaded file’s size is too large and can not be accepted. The default maximum file size is set at 50mb, but this can be changed to suit a site’s needs. If you need to increase or decrease the maximum allowed file size limit, reach out to Vanilla Support or your CSM to make the necessary change in your site’s configuration.
What causes the warning icon while inserting a Rich Embed?
Some users using browsers with strict privacy settings or adblockers may not be able to load a Rich Embed from certain sites in their browser. The warning icon indicates that all the data necessary to render the embed is present in the editor, but the user’s browser is not allowing thet embed to be created.
These embeds will be still be able to load for users with a more permissive browser, even on the same post.
Why is my published post replaced with “There was an error rendering this rich post”?
This message appears when an a published post was inserted improperly. This can happen through incorrect insertion of a post through the API.
Rich format must be stored in a very particular way. Content from sources other than Rich Editor should not be stored with this format.