
John Mechalas |
4 people marked this as a favorite. |

Good news, everyone!
To make my life easier in the online/PbP campaign I'm in, I've created a WYSIWYG editor that implements most of the special, BBCode-like syntax used here on the Paizo forums. In particular, it supports OOC text, inserting dice roll expressions, and spoiler blocks, along with the usual BBCode goodies like text formatting and quoting. You simply write and format naturally, then switch to the source view where you can copy the BBCode source back here to the forums. (And of course you can also go the other direction when replying to a thread: copy the forum code to the source view, switch to WYSIWIG mode, and go).
This is not exactly super-convenient for day-to-day posting, but when you are composing long posts in, say, a campaign thread with lots of formatting, offline composing starts to make a lot of sense. And it's less frustrating, especially since the Paizo forums tags have some quirky behavior.
It's based on SCEditor, which is itself a bit quirky. So it's not perfect, and if you bend it too severely weird things will happen, but they are quirks I'd rather deal with than [ ] code blocks all over the place. YMMV.
- The editor: https://www.dungeonetics.com/ppbpeditor/
- A screenshot
FYI. I used it to compose this post offline.

John Mechalas |

Hey John,
Nice to see people contributing tools to the PbP world. :)
Any interest in collaborating to bring this functionality into the Paizo Campaign Tools browser extension?
The thought had occurred to me. Having the WYSIWYG editor just be here would be a boon. I'd want to take another shot at implementing it using the SCEditor API, though, instead of hacking the source directly.
SCEditor is under an MIT license, so it can be included in both non-commercial and commercial projects. So there should not be any barriers to embedding it.

John Mechalas |

Oh....I fixed a couple of bugs last night. One was causing quotes not to appear correctly until you toggled the source view on and off. The second was with OOC text: when copied and pasted, it pasted as just plaint text with the color blue, instead of with the right HTML tag. (Copying special blocks with colored text like dice, spoilers, etc. will still copy as "plain" text, though. There is a way to make copy & paste "just work" for those, but it's complicated).