I really like jWYSIWYG - it's simple, and it works with jQuery. I also understand it's pretty customizable and a good ground base for custom needs -开发者_如何学运维- but the documentation is lacking. I wanna know how I can use it to output simple BBCode, and how I can create my own custom buttons. A simple example should do the trick, I don't need heavy explanation... I know my way bit around coding, I just need to find the right approach to this.
markitup is a jQuery plugin that provides what you are looking for. It's not a WYSIWYG editor, but pretty much closer to that - more like this editor (StackOverflow's). Here is an example that shows BBCode editor.
Here are a few BBCode editors that do provide WYSIWYG,
- http://wysiwygbbcode.codeplex.com/
- http://www.ecardmax.com/hoteditor/
精彩评论