flownative / neos-editors
A package with additional editors for the Neos inspector
Installs: 72
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 6
Language:JavaScript
Type:neos-package
Requires
- neos/neos: ^7.0 || ^8.0
- dev-main
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.0
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/minimist-0.2.4
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/terser-4.8.1
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/Resources/Private/Scripts/YamlEditor/mout-1.2.3
This package is auto-updated.
Last update: 2024-11-04 18:45:52 UTC
README
Flownative Neos Editors
This package is home to additional editors (and validators) for use with Neos.
Installation
composer require flownative/neos-editors
Usage
To use the included editors, simply configure your property accordingly
in NodeTypes.yaml
. Here is an example:
properties:
'yamlProperty':
type: 'string'
ui:
label: 'YAML property'
inspector:
group: 'document'
editor: 'Flownative.Neos.Editors/Inspector/Editors/Yaml'
validation:
'Flownative.Neos.Editors/Inspector/Validators/Yaml': []
Available Editors
YAML
Name: Flownative.Neos.Editors/Inspector/Editors/Yaml
The YAML editor provides syntax highlighting for YAML and makes sure no tab characters are used for indentation.
The editor supports buttonLabel
as an editorOption
, like the
CodeEditor
in Neos.
Available Validators
YAML
Name: Flownative.Neos.Editors/Inspector/Validators/Yaml
The YAML validator provides validation of YAML. Internally it tries to parse using JS-YAML and fails validation if that throws an exception.
The validator has no options.