Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

kalamuna/autogrow_textarea

Repository files navigation

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 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.

  2. Run composer require kalamuna/autogrow_textarea

just download

  1. Download the latest release of this module's code here.
  2. Extract it into the modules directory of your Drupal root.
  3. Download the jquery_ns_autogrow library.
  4. 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).