1

I'm looking for a simple javascript editor, much like the one i'm using to type this message. I've tried searching (and i wondered why starting to ask a question shows much better search results than just searching) and have come up with a few results, none of them relevant.

I just need a very simple editor, that displays text as <p>, has a way to insert links, and allows me to display html tags in the text rather than making them get parsed. The editors that I've seen so far all have a rich feature set and more functions than i would ever want, or want to learn to use.

3
  • Since John added a tag... how hard would it be to implement an editor from scratch with just a few buttons (add link, image, add code (that would allow me to add html tags that would be displayed without being interpreted) ? (i'm fairly good with php/css/html, have literally no experience with javascript though)
    – xyious
    Commented Jul 14, 2011 at 12:03
  • Not meant to be blunt, but it would be F*ING HARD. Consider reinventing **the very concept of cursor over 6 different rendering engines. For a start. Or... meddling with never standardized editing frameworks and their shortcomings. And on.
    – ZJR
    Commented Jul 15, 2011 at 4:23
  • I do not want to reinvent anything at all. I just want a (very) simple javascript editor like the ones that are on millions of websites. just that i don't care much for most of the functionality. I just need about 2 buttons out of the anywhere between 10 and 100 buttons that most of them have.
    – xyious
    Commented Jul 15, 2011 at 12:58

2 Answers 2

4

The one used to type this message is a custom version of WMD. I've used tinymce and although it does have a lot of features, you can specify which buttons to include in the configuration, so you can only have those few if you want.

(As to why asking gives you better search results: https://meta.stackexchange.com/questions/20432/related-questions-in-ask-question-page-is-better-than-search-tool)

1
  • why can such a simple editor be so complicated, also i don't really wanna mess with markup right now.... also to the questions.... i actually tried searching for the exact string of my question and still didn't get as good results, it's interesting.
    – xyious
    Commented Jul 14, 2011 at 9:12
3

The simple editor you see around is always TinyMCE in some dumbed down form.

Alternatives are xinha and ckeditor

They both usually sport more functionality, but maybe they suit your taste better.

Wikipedia/Mediawiki should be using MeanEditor if that's what you're after.
They also offer pointers to other similar editors in various stages of production.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.