I'll put it simple, I suck at Javascript.

How would I make a code editor, using a textarea that you can press [tab] and then it does this: " ".
And when you press enter, the indent stays.

Recommended Answers

All 2 Replies

Something like that, but the syntax highlighting is optional since it will be highlighted later.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.