Added info on what BBcodes work and don't

This commit is contained in:
Random Penguin 2025-03-24 13:38:50 -05:00
parent 60717c1d09
commit 2a935b1823

View file

@ -18,6 +18,42 @@ _**NOTE:** Support for Postbox is built into Bookface 1.6+. This adddon adds sup
2. Type `[class=postbox-red]Wrapped text goes here[/class]` (substitute "-red" with any of the available styles)
3. Press the "Preview" tab to see what it will look like.
While Postbox allows more content than the Facebook version (which is text only), there are limitations due to how Friendica parses BBcode.
**It is STRONGLY recommended you only use Postboxes with text and emoji.**
BBcodes you CANNOT put inside a Postbox:
* [class] (which means you cant nest Postboxes)
* [hr]
* [h1],[h2],[h3], etc…
* [table],[tr],[th],[td]
* [list],[ul],[ol]
* [abstract]
* [spoiler]
* [map]
* [code]
BBcodes that do not work as intended inside a Postbox:
* [pre]
* [noparse]
* [nobb]
The text will show but will be styled and centered.
BBcodes that **DO WORK** inside a Postbox:
* [url]
* [img]
* [audio]
* [video]
And any plain text, including emoji
If you are using Markdown formatting what you can and cant put in a Postbox is similar, with the exception that (because of how Markdown is parsed into BBcode) you cant have both a URL and an image in the same Postbox. You *can* however put inline `code` in a Postbox with Markdown where BBcode cannot.
### Available Postbox styles
**Solid Color Backgrounds:**