shel-neos-schema 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -855,6 +855,10 @@
855
855
  "blockquote": {
856
856
  "type": "boolean",
857
857
  "description": "Allows wrapping text in a blockquote tag (Neos 8.3+)"
858
+ },
859
+ "styleDefinitions": {
860
+ "type": "array",
861
+ "description": "Allows defining custom styles for the inline editor (Neos 9.1+)"
858
862
  }
859
863
  }
860
864
  }
@@ -45,6 +45,10 @@ My.Vendor:Content.Editors:
45
45
  formatting:
46
46
  strong: true
47
47
  blockquote: true
48
+ styleDefinitions:
49
+ - name: 'Brand color'
50
+ element: 'span'
51
+ classes: [ 'color__neos-brand' ]
48
52
 
49
53
  textField:
50
54
  type: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shel-neos-schema",
3
3
  "description": "A tool to validate Neos YAML schema files like nodetypes and other configuration",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "main": "bin/validate.js",
6
6
  "author": "Sebastian Helzle <sebastian@helzle.it>",
7
7
  "license": "MIT",