Download the PHP package carbon/inline-editable without Composer
On this page you can find all versions of the php package carbon/inline-editable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download carbon/inline-editable
More information about carbon/inline-editable
Files in carbon/inline-editable
Package inline-editable
Short Description Enhances Neos.Neos:Editable with better placeholder handling and optional inline character counting in the Neos backend
License GPL-3.0-or-later
Informations about the package inline-editable
Carbon.InlineEditable
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
- Emojis get count as one character 👍🏼
- Visual counter states (
ok,warning,error)
Installation
Install the package via Composer:
Usage
Fallback Placeholder
Use fallback to provide placeholder content when no value exists:
Character Counter
Enable the counter by setting 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 becomeswarning.counterMinError: Sets the critical minimum character count. If the current count is less than or equal to this value, the state becomeserror.counterMaxWarning: Sets the maximum character count before warning. If the current count is greater than this value, the state becomeswarning.counterMaxError: Sets the critical maximum character count. If the current count is greater than this value, the state becomeserror.
Use counterDown = true to display the distance to counterMaxError instead of the current character count. This requires counterMaxError to be set.
Example with countdown mode:
Example with thresholds:
State priority is error before warning.
Development
Install frontend dependencies and build backend assets:
Available scripts from package.json:
pnpm run jsbundles Resources/Public/Backend.jspnpm run cssbundles/minifies Resources/Public/Backend.csspnpm buildruns both
License
GPL-3.0-or-later