kaluma / autogrow_textarea
此包已被弃用且不再维护。未建议替代包。
为 Drupal 的 textarea 表单 API 元素添加 jQuery NS-Autogrow。
2.0.0
2023-07-13 20:21 UTC
README
此项目已迁移至 Drupal.org,详情请见
https://www.drupal.org/project/autogrow_textarea
Autogrow Textarea Drupal 模块
将 jQuery NS-Autogrow 添加到 Drupal 的 textarea
表单 API 元素。
安装
下载模块
使用 Composer
-
将以下片段添加到您的
composer.json
中,以便将 JS 库保存到正确的文件夹"extra": { "installer-types": ["component"], "installer-paths": { "web/libraries/{$name}": ["type:component"] } }
其中
web/libraries/
是您库目录相对于您的 项目 根的路径。 -
运行
composer require kalamuna/autogrow_textarea
仅下载
- 在此处下载此模块的最新版本代码 here。
- 将其解压缩到您的 Drupal 根目录的模块目录中。
- 下载
jquery_ns_autogrow
库。 - 将其解压缩到您的 Drupal 根目录中的
libraries/jquery_ns_autogrow
目录中。
安装
安装并启用“Autogrow Textarea”模块(drush en autogrow_textarea
)。