Package Exports
- textarea
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (textarea) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
textarea
One textarea plugin to rule them all.
Ace editor and CodeMirror are over the top. I just want tabs and block indentation.
And auto-expansion to fix the contents (height-wise).
Your <textarea> should specify min-height and max-height, but not height.
Alternatives
- react-textarea-autosize, demo: apparently only handles newlines, so if your lines wrap, the height will be wrong.
- react-textarea: derived from react-textarea-autosize
- autosize: Looks nice, actually, but used to be jQuery?
- react-autosize-textarea: This one seems to work.
- angular2-autosize: super simple (3 lines of logic!), but works nicely at first glance.
License
Copyright 2013-2016 Christopher Brown. MIT Licensed.