Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 479 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 479 Bytes

Textareas suck hard for code editing, this at least fixes entering tabs and preserving indentation.

Example: http://tkafka.github.com/jquery.codedit

Usage:

<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="./jquery.tk.codeedit.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('textarea').codeEdit();
});
</script>