heimrichhannot/contao-input-counter-bundle
Composer 安装命令:
composer require heimrichhannot/contao-input-counter-bundle
包简介
This bundle offers character counting for backend fields for a better editing usability.
README 文档
README
This bundle offers character counting for backend fields for a better editing usability.
Installation
Install via composer: composer require heimrichhannot/contao-input-counter-bundle
Configuration
Configuration is easy as adding the following code to a config.php:
$GLOBALS['HUH_INPUT_COUNT'] = [
[
'table' => 'tl_news', // the dca table name
'fields' => [
[
'name' => 'headline', // the field's name
'max' => 50, // the maximum character count (if not set, the field's maxlength eval property is used if available)
'skipColoring' => true // activate/deactivate coloring (default: false)
],
// ...
]
],
// ...
];
Known limitations
- currently no support for tinyMCE due to the lack of having an event for every content change in tinyMCE (keyup, change, cut and paste work, but for style changes there's no event)
统计信息
- 总下载量: 234
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2018-07-18