mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
43e36a3541
Update @wordpress npm packages to the latest published versions. This means that the block editor includes functionality that exists in Gutenberg 9.8. See #52334. Props isabel_brison. Built from https://develop.svn.wordpress.org/trunk@50048 git-svn-id: http://core.svn.wordpress.org/trunk@49749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
133 lines
2.4 KiB
JSON
133 lines
2.4 KiB
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/table",
|
|
"category": "text",
|
|
"attributes": {
|
|
"hasFixedLayout": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"backgroundColor": {
|
|
"type": "string"
|
|
},
|
|
"caption": {
|
|
"type": "string",
|
|
"source": "html",
|
|
"selector": "figcaption",
|
|
"default": ""
|
|
},
|
|
"head": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "thead tr",
|
|
"query": {
|
|
"cells": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "td,th",
|
|
"query": {
|
|
"content": {
|
|
"type": "string",
|
|
"source": "html"
|
|
},
|
|
"tag": {
|
|
"type": "string",
|
|
"default": "td",
|
|
"source": "tag"
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "scope"
|
|
},
|
|
"align": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "data-align"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "tbody tr",
|
|
"query": {
|
|
"cells": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "td,th",
|
|
"query": {
|
|
"content": {
|
|
"type": "string",
|
|
"source": "html"
|
|
},
|
|
"tag": {
|
|
"type": "string",
|
|
"default": "td",
|
|
"source": "tag"
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "scope"
|
|
},
|
|
"align": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "data-align"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"foot": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "tfoot tr",
|
|
"query": {
|
|
"cells": {
|
|
"type": "array",
|
|
"default": [],
|
|
"source": "query",
|
|
"selector": "td,th",
|
|
"query": {
|
|
"content": {
|
|
"type": "string",
|
|
"source": "html"
|
|
},
|
|
"tag": {
|
|
"type": "string",
|
|
"default": "td",
|
|
"source": "tag"
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "scope"
|
|
},
|
|
"align": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"attribute": "data-align"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"supports": {
|
|
"anchor": true,
|
|
"align": true,
|
|
"__experimentalSelector": ".wp-block-table > table"
|
|
},
|
|
"editorStyle": "wp-block-table-editor",
|
|
"style": "wp-block-table"
|
|
}
|