mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-25 17:51:27 +01:00
c3ea09ebb8
It contains several changes in addition to regular update to WordPress packages: - All newly exposed blocks are now registered on the server. - Dutone block support was added. - Border block support was updated. - New shared function `construct_wp_query_args` was added for the family of Query blocks - it might need some further work. Props youknowriad. See #52991. Built from https://develop.svn.wordpress.org/trunk@50929 git-svn-id: http://core.svn.wordpress.org/trunk@50538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
46 lines
861 B
JSON
46 lines
861 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/paragraph",
|
|
"title": "Paragraph",
|
|
"category": "text",
|
|
"description": "Start with the building block of all narrative.",
|
|
"keywords": [ "text" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"align": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "string",
|
|
"source": "html",
|
|
"selector": "p",
|
|
"default": "",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"dropCap": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"placeholder": {
|
|
"type": "string"
|
|
},
|
|
"direction": {
|
|
"type": "string",
|
|
"enum": [ "ltr", "rtl" ]
|
|
}
|
|
},
|
|
"supports": {
|
|
"anchor": true,
|
|
"className": false,
|
|
"color": {
|
|
"link": true
|
|
},
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalSelector": "p",
|
|
"__unstablePasteTextInline": true
|
|
},
|
|
"editorStyle": "wp-block-paragraph-editor",
|
|
"style": "wp-block-paragraph"
|
|
}
|