flownative/neos-editors

Last activity on 12 December 2020
  • 1
  • 68
composer require flownative/neos-editors

A package with additional editors for the Neos inspector

0.2.2

A package with additional editors for the Neos inspector

Version
0.2.2
Type
neos-package
Release Date
Apr 28, 2020 9:28:35 a.m.
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
GPL-3.0 e1f367bf49df271e8e4571b9b3a7b1b3632524ee

GPL-3.0 license Packagist Maintenance level: Acquaintance

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.

YAML editor

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.

YAML error message

The validator has no options.

The content of the readme is provided by Github
The same vendor provides 39 package(s).