Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post Formatting

Codex HomebbPress Features → Post Formatting

Formatting a bbPress post can be achieved with the use of the simple HTML editor called the Quicktags Toolbar that appears above the topic or reply form for quick and easy HTML formatting. This toolbar inserts simple HTML tags into the topic or reply form to better format the users post.

To enable the ability to format posts with HTML and the Quicktags Toolbar:

  1. Go to Settings > Forums in the WordPress backend
  2. Then in the Forum Features section make sure “Add toolbar & buttons to textareas to help with HTML formatting” is enabled

quicktags toolbar

Similar to WordPress comments, forum users without the Keymaster bbPress role or the Admin WordPress role may only use a certain set of HTML tags. This is in place for security reasons so that users will not be able to post potentially malicious JavaScript.

The Quicktags Toolbar can be easily extended to add any additional custom buttons using the Quicktags API in WordPress. Whenever you do create custom buttons for the Quicktags Toolbar, you may place any JavaScript code into the editor.js file if you copied that file into your child theme in a folder named js from the theme compatibility files from the bbPress plugin, so that the JavaScript may be enqueued correctly for the Quicktags Toolbar in your bbPress forums.

 

Skip to toolbar