Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kalamuna/autogrow_textarea

jQuery NS Autogrow Drupal module
https://github.com/kalamuna/autogrow_textarea

archive-candidate drupal8-module

Last synced: 7 days ago
JSON representation

jQuery NS Autogrow Drupal module

Awesome Lists containing this project

README

        

# Moved

This project has moved over to Drupal.org over at:

https://www.drupal.org/project/autogrow_textarea

# Autogrow Textarea Drupal Module

Adds [jQuery NS-Autogrow](https://github.com/ro31337/jquery.ns-autogrow) to Drupal's `textarea` Form API element.

## Installation

### Download the module

**via Composer**

1. Add the following snippet to your `composer.json` to save the JS library into the correct folder:
```
"extra": {
"installer-types": ["component"],
"installer-paths": {
"web/libraries/{$name}": ["type:component"]
}
}
```
where `web/libraries/` is the path to your libraries directory relative to your _project_ root.

1. Run `composer require kalamuna/autogrow_textarea`

**just download**

1. Download the latest release of this module's code [here](https://github.com/kalamuna/autogrow_textarea/releases/latest).
1. Extract it into the modules directory of your Drupal root.
1. Download the [`jquery_ns_autogrow` library](https://github.com/ro31337/jquery.ns-autogrow/releases/latest).
1. Extract it into the `libraries/jquery_ns_autogrow` directory inside your Drupal root.

### Install

Install and enabe the "Autogrow Textarea" module (`drush en autogrow_textarea`).