3

I have looked for months now, for JavaScript-based HTML editor I can embed onto my web pages to replace a TEXTAREA, but to enable me to edit CODE in a friendly, closer to a real editor, way. All editors I've tried (RadEditor from Telerik, FCKEditor, TinyMCE, etc etc), do not trap the TAB key, very useful when editing HTML code onto a page, to help format the code properly. I'm not talking about syntax highlighting, as that would be an awesome plus. But I am mainly wondering if there is such an editor.

I'd appreciate being pointed in the right direction.

Cristian Cotovan
  • 1,090
  • 1
  • 13
  • 23
  • possible duplicate of http://stackoverflow.com/questions/3362/capturing-tab-key-in-text-box – Fenton Apr 22 '10 at 06:41

2 Answers2

3

code mirror, which is used by jsbin. and it does syntax highlighting.

fffact
  • 226
  • 2
  • 4
0

Ace looks pretty good. It's used in the Cloud9 IDE.

Pramod
  • 5,150
  • 3
  • 45
  • 46