Skip to content

yukulele/Indentable-textarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indentable-textarea

Allow use of tab in <textarea>

Usage

html

<script src="indentable.js"></script>

js

const textarea = document.querySelector('textarea')
indentable(textarea, 2)
  • arg 1: textarea element
  • arg 2: space count (optional, default: 2)

Releases

No releases published

Packages

No packages published