You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.0 KiB
JSON

{
"apiVersion": 2,
"title": "Table of Contents by Rank Math",
"description": "Automatically generate the Table of Contents from the Headings added to this page.",
"name": "rank-math/toc-block",
"category": "rank-math-blocks",
"icon": "rm-icon rm-icon-stories",
"textdomain": "rank-math",
"editorScript": "file:./assets/js/index.js",
"editorStyle": "file:./assets/css/toc.css",
"style": "file:./assets/css/toc_list_style.css",
"attributes": {
"title": {
"type": "string"
},
"headings": {
"type": "array",
"items": {
"type": "object"
}
},
"listStyle": {
"type": "string"
},
"titleWrapper": {
"type": "string",
"default": "h2"
},
"excludeHeadings": {
"type": "array"
}
},
"supports": {
"color": {
"link": true,
"gradients": true
},
"multiple": false,
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"align": true
}
}