kaluma/autogrow_textarea

此包已被弃用且不再维护。未建议替代包。

为 Drupal 的 textarea 表单 API 元素添加 jQuery NS-Autogrow。

安装次数: 22,194

依赖项: 1

建议者: 0

安全: 0

星级: 1

关注者: 19

分支: 1

开放问题: 0

类型:drupal-module

2.0.0 2023-07-13 20:21 UTC

This package is auto-updated.

Last update: 2023-08-13 20:47:31 UTC


README

此项目已迁移至 Drupal.org,详情请见

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

Autogrow Textarea Drupal 模块

jQuery NS-Autogrow 添加到 Drupal 的 textarea 表单 API 元素。

安装

下载模块

使用 Composer

  1. 将以下片段添加到您的 composer.json 中,以便将 JS 库保存到正确的文件夹

    "extra": {
        "installer-types": ["component"],
        "installer-paths": {
            "web/libraries/{$name}": ["type:component"]
        }
    }
    

    其中 web/libraries/ 是您库目录相对于您的 项目 根的路径。

  2. 运行 composer require kalamuna/autogrow_textarea

仅下载

  1. 在此处下载此模块的最新版本代码 here
  2. 将其解压缩到您的 Drupal 根目录的模块目录中。
  3. 下载 jquery_ns_autogrow
  4. 将其解压缩到您的 Drupal 根目录中的 libraries/jquery_ns_autogrow 目录中。

安装

安装并启用“Autogrow Textarea”模块(drush en autogrow_textarea)。