Skip to content

Commit

Permalink
board-item block added
Browse files Browse the repository at this point in the history
  • Loading branch information
omprakashgupta1995 committed Oct 9, 2024
1 parent 3e1de0a commit d518da1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,21 @@
}
}
},
{
"title": "Board Item 2",
"id": "board-item-2",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"name": "Board Item 2",
"model": "board-item-2"
}
}
}
}
},
{
"title": "RTE",
"id": "rte",
Expand Down
2 changes: 1 addition & 1 deletion component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
},
{
"id": "board",
"components": ["board-item"]
"components": ["board-item", "board-item-2"]
},
{
"id": "carousel",
Expand Down
19 changes: 19 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,25 @@
}
]
},
{
"id": "board-item-2",
"fields": [
{
"component": "richtext",
"name": "rte",
"label": "Board Item 1",
"valueType": "string",
"raw": true
},
{
"component": "richtext",
"name": "rte2",
"label": "Board Item 2",
"valueType": "string",
"raw": true
}
]
},
{
"id": "rte",
"fields": [
Expand Down

0 comments on commit d518da1

Please sign in to comment.