Reputation: 267267
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]
could 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?
Upvotes: 9
Views: 9449
Reputation: 7
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.
Upvotes: -1
Reputation: 7238
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.
Upvotes: 1
Reputation: 19014
Why not using WMD Editor (the one used by stackoverflow) and configure its available buttons?
Upvotes: 5