Skip to content

Commit

Permalink
use json-jcr for code snippets alternatively in FileVault XML and JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 22, 2024
1 parent 4ca5787 commit 29bc371
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.parent_toplevel</artifactId>
<version>2.3.0</version>
<version>2.3.1-SNAPSHOT</version>
<relativePath/>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions src/site/markdown/graniteui-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

This is a customized File Upload component that allows to reference AEM assets or upload binary files as inline assets with enhanced support for the wcm.io Media Handler.

```json
```json-jcr
"fileReference": {
"sling:resourceType": "wcm-io/handler/media/components/granite/form/fileupload",
"fieldLabel": "Asset reference"
Expand All @@ -32,7 +32,7 @@ Enhancements over AEM version:

This is a customized Path Field component that allows to reference AEM assets with enhanced support for the wcm.io Media Handler.

```json
```json-jcr
"fileReference": {
"sling:resourceType": "wcm-io/handler/media/components/granite/form/pathfield",
"fieldLabel": "Asset reference"
Expand All @@ -54,7 +54,7 @@ This component extends the [wcm.io Granite UI components Path Field][wcmio-wcm-u

Multi-select field that allows to select one or multiple media formats.

```json
```json-jcr
"mediaFormats": {
"sling:resourceType": "wcm-io/handler/media/components/granite/form/mediaformatselect",
"name": "./mediaFormats",
Expand Down

0 comments on commit 29bc371

Please sign in to comment.