Forum Moderators: open

Message Too Old, No Replies

WYSIWYG BBCode Editor - Recommendations?

I want to implement a WYSIWYG editor for my BBCode form.

         

sorites

8:16 pm on Jun 8, 2006 (gmt 0)

10+ Year Member



Where can I find a WYSIWYG editor for BBCode?
Or, any tips on writing my own?

I've got a textarea form field that currently accepts BBCode. I want to implement a WYSIWYG editor so the user doesn't have to know anything to use it.

I'd love to find something already written that I could plug into my site. It'd have to be customizable so I could control which BBCode tags are supported.

Or, I've considered writing my own from scratch, but that sounds really daunting, especially since I know very little javascript.

Any recommendations?

rocknbil

9:06 pm on Jun 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well sorites welcome aboard, but even if you steal - err - copy - one off a site, you will still need to learn to alter and maintain it.

So your choices are buddy-up with someone and have them do it for you, pay someone, or learn Javascript and wrangle it yourself. :-)

There have been a few "editors" pasted here in the Javascript forum, see what you can find.

coopster

9:33 pm on Jun 8, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I believe there is a FireFox extension for BBCodes, isn't there? Here nor there, mozilla has a midas demo page [mozilla.org] that should get you started.

sorites

1:21 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



I've looked at the Mozilla RTE, but it doesn't really do the job as it produces HTML, not BBCode. In fact, that's how pretty much how it is with all the Rich Text Editors I've found.

I've only found two, in fact, that produce BBCode. One is used and developed by WoltLab (http://www.woltlab.com) and the other is included with vBulletin.

The BBCode editors I've found just insert tags for you. They don't stylize the text in a wysiwyg way, which is what I'm looking for.

coopster

2:17 pm on Jun 9, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



OK, understood. Then have a look at the Firefox Extensions. A search on 'bbcode' will turn up a few alternatives. You could pull their JavaScript and have a look under the covers.

By the way, welcome to WebmasterWorld.