HTML text area editor for code that intercepts the TAB key

I have been looking for several months for an HTML JavaScript editor that I can embed on my web pages to replace TEXTAREA, but so that I can edit CODE in a friendly, closer to the real editor. All the editors I tried (RadEditor from Telerik, FCKEditor, TinyMCE, etc. Etc.) do not catch the TAB key, which is very useful when editing HTML code on a page to help format the code correctly. I'm not talking about syntax highlighting, as that would be an amazing plus. But I'm mostly wondering if there is such an editor.

I would appreciate it being directed in the right direction.

+3
source share
2 answers

code mirror used by jsbin. and it highlights the syntax.

+3
source

Ace looks good. It is used in the Cloud9 IDE.

0
source

Source: https://habr.com/ru/post/1742232/


All Articles