Skip to content

Commit

Permalink
block.json for oik/content-block #47
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Aug 12, 2021
1 parent 8cef225 commit 60a3d1a
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions src/oik-content/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"apiVersion": 2,
"name": "oik/content-block",
"title": "Dynamic content block",
"category": "layout",
"icon": "shortcode",
"description": "Expands content for dynamic oik shortcodes.",
"attributes": {
"shortcode": {
"type": "string",
"default": ""
},
"content": {
"type": "string",
"default": ""
},
"parameters": {
"type": "string",
"default": ""
},
"post_type": {
"type": "string",
"default": ""
},
"post_parent": {
"type": "string",
"default": ""
},
"numberposts": {
"type": "integer",
"default": 10
},
"orderby": {
"type": "string",
"default": "date"
},
"order": {
"type": "string",
"default": "desc"
},
"align": {
"type": "string",
"default": ""
},
"format": {
"type": "string",
"default": "LIER"
},
"textAlign": {
"type": "string"
},
"className": {
"type": "string"
},
"textColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"style": {
"type": "object"
},
"fontSize": {
"type": "string"
},
"gradient": {
"type": "string"
}
},
"supports": {
"align": true,
"alignWide": true,
"alignFull": true,
"html": false,
"customClassName": false,
"className": true,
"color": {
"gradients": false,
"text": true,
"background": false,
"link": false
},
"typography": {
"fontSize": false,
"lineHeight": false
}
},
"keywords": [ "content", "shortcode", "dynamic", "oik" ],
"textdomain": "oik-blocks"
}

0 comments on commit 60a3d1a

Please sign in to comment.