login about faq

How do you go about creating the code to make a mini text editor for your forum. What i mean by mini text editor is the Bold|Italics|Upload image etc. that this site uses. I would be using it pretty much the same way this site is using it- to allow people to easily style their posts. If anyone could point me in the right direction or give a quick overview of the concept i would appreciate it. -thanks

asked Feb 12 '12 at 11:56

ben's gravatar image

ben
02


Short answer is "You don't". Building a WYSIWYG editor is not a simple task - you'll need a good amount of JavaScript and text processing knowledge just to make a basic editor.

A much better approach would be to just use an existing solution like TinyMCE. For example, this site uses Markdown and so it uses WMD.

link

answered Feb 12 '12 at 12:19

Bryan%20Bibat's gravatar image

Bryan Bibat
2.6k119

1

Sort of what i figured after looking at the page of script on this site. Thanks for the help!

(Feb 12 '12 at 23:35) ben ben's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×2

Asked: Feb 12 '12 at 11:56

Seen: 828 times

Last updated: Feb 12 '12 at 23:35