开发者

Small, Custom WYSIWYG editor

I would make to make a small WYSIWYG editor similar to the one used by StackOverflow. Basically, it would have buttons like [quote], and when that button is clicked, [quote] [/quote] should be inserted in the textarea where the cursor is or at the end of all other text. If the [quote][/quote] co开发者_StackOverflow社区uld be highlighted in some way that would be even more excellent, but its not required.

Is there any WYSIWYG editor already available where you can add custom buttons, with custom text being added to the textbox as a result?


There's a good list of ten of the top ones on this blog.


Why not using WMD Editor (the one used by stackoverflow) and configure its available buttons?


TinyMCE Works well for me.


Sure, use the one stackoverflow does.


Stack Overflow uses Markdown for formatting. Because Markdown is significantly simpler to generate and deal with than HTML, I'd imagine there are lots of good choices. This one seems to match all the functionality of the one used by Stack Overflow, perhaps it's the same one!

If you're looking for something non-Markdown, then TinyMCE or CKEditor might be what you want.


You can use Microsoft Expression Web, it is free and comes in a bundle pack with other expression applications. It has worked for me very well and I haven't had a problem with it. Also W3Schools is a great source for Tutorials on code and such.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜