Skip to content

Commit

Permalink
Block JSON schema: Add viewScriptModule field
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Feb 15, 2024
1 parent dffac59 commit 12ee830
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,20 @@
}
]
},
"viewScriptModule": {
"description": "Block type frontend script module definition. It will be enqueued only when viewing the content on the front of the site.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"editorStyle": {
"description": "Block type editor style definition. It will only be enqueued in the context of the editor.",
"oneOf": [
Expand Down

0 comments on commit 12ee830

Please sign in to comment.