承接 carbon/inline-editable 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

carbon/inline-editable

Composer 安装命令:

composer require carbon/inline-editable

包简介

Enhances Neos.Neos:Editable with better placeholder handling and optional inline character counting in the Neos backend

README 文档

README

Enhances Neos.Neos:Editable with better placeholder handling and optional inline character counting in the Neos backend.

Features

  • Dynamic placeholder override based on the configured fallback text
  • Optional live character counter in focused editable fields
  • Visual counter states (ok, warning, error)

Requirements

  • neos/neos ^8.3 || ^9.0
  • carbon/includeassets ^7.0

Installation

Install the package via Composer:

composer require carbon/inline-editable

The package auto-includes its Fusion and backend assets via Configuration/Settings.yaml.

Usage

This package extends Neos.Neos:Editable in Resources/Private/Fusion/Root.fusion.

Fallback Placeholder

Use fallback to provide placeholder content when no value exists:

title = Neos.Neos:Editable {
	property = 'headline'
	fallback = ${q(node).property('title')}
}

Character Counter

Enable the counter by setting counter = true:

teaserText = Neos.Neos:Editable {
	property = 'teaserText'
	fallback = 'Enter teaser text'
	counter = true
}

When active, the backend script updates counter values live while editing.

You can also configure warning and error thresholds:

  • counterMinWarning: Sets the minimum character count that should still be considered okay. If the current count is less than or equal to this value, the state becomes warning.
  • counterMinError: Sets the critical minimum character count. If the current count is less than or equal to this value, the state becomes error.
  • counterMaxWarning: Sets the maximum character count before warning. If the current count is greater than this value, the state becomes warning.
  • counterMaxError: Sets the critical maximum character count. If the current count is greater than this value, the state becomes error.

Example with thresholds:

teaserText = Neos.Neos:Editable {
	property = 'teaserText'
	fallback = 'Enter teaser text'
	counter = true
	counterMinWarning = 40
	counterMinError = 20
	counterMaxWarning = 180
	counterMaxError = 220
}

State priority is error before warning.

Development

Install frontend dependencies and build backend assets:

pnpm install
pnpm build

Available scripts from package.json:

License

GPL-3.0-or-later

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-07-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固