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 fced474 commit 910cd97
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/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To use the paragraph system in your sightly template:

To define which components are allowed in your paragraph system you create a node `wcmio:parsysConfig` in your page component (similar to nodes like `cq:dialog` and `cq:editConfig`). Example:

```json
```json-jcr
"wcmio:parsysConfig": {
"jcr:primaryType": "nt:unstructured",
"paths": {
Expand Down Expand Up @@ -97,7 +97,7 @@ You can set the following property in the component node of the paragraph system

Example:

```
```json-jcr
{
"jcr:primaryType": "cq:Component",
"sling:resourceSuperType": "wcm-io/wcm/parsys/components/parsys",
Expand All @@ -114,7 +114,7 @@ Notes:

* The properties **wcmio:parsysParagraphCss** and **wcmio:parsysParagraphElement** do not work properly when inserting or editing components without configuring a REFRESH_PARENT event on the `afterinsert` and `afteredit` events for the child components. It is recommended to use `cq:htmlTag` definition on the parsys child components instead - example:

```
```json-jcr
{
"jcr:primaryType": "cq:Component",
"jcr:title": "My Component",
Expand Down

0 comments on commit 910cd97

Please sign in to comment.