summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/tag-cloud/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/tag-cloud/block.json')
-rw-r--r--wp-includes/blocks/tag-cloud/block.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/wp-includes/blocks/tag-cloud/block.json b/wp-includes/blocks/tag-cloud/block.json
new file mode 100644
index 0000000..9481dc9
--- /dev/null
+++ b/wp-includes/blocks/tag-cloud/block.json
@@ -0,0 +1,54 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/tag-cloud",
+ "title": "Tag Cloud",
+ "category": "widgets",
+ "description": "A cloud of your most used tags.",
+ "textdomain": "default",
+ "attributes": {
+ "numberOfTags": {
+ "type": "number",
+ "default": 45,
+ "minimum": 1,
+ "maximum": 100
+ },
+ "taxonomy": {
+ "type": "string",
+ "default": "post_tag"
+ },
+ "showTagCounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "smallestFontSize": {
+ "type": "string",
+ "default": "8pt"
+ },
+ "largestFontSize": {
+ "type": "string",
+ "default": "22pt"
+ }
+ },
+ "styles": [
+ { "name": "default", "label": "Default", "isDefault": true },
+ { "name": "outline", "label": "Outline" }
+ ],
+ "supports": {
+ "html": false,
+ "align": true,
+ "spacing": {
+ "margin": true,
+ "padding": true
+ },
+ "typography": {
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalLetterSpacing": true
+ }
+ },
+ "editorStyle": "wp-block-tag-cloud-editor"
+}