开发者

Using jWYSIWYG to output BBCode

开发者 https://www.devze.com 2023-03-21 09:11 出处:网络
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 lackin

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

精彩评论

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