开发者

Using jWYSIWYG to output BBCode

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/
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜