mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Editor: Register core blocks on the server
Exposes all core blocks (excluding embeds) on the server to be used with the REST API block types endpoint. Props spacedmonkey, timothyblynjacobs. Fixes #50263. git-svn-id: https://develop.svn.wordpress.org/trunk@48262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "core/pullquote",
|
||||
"category": "text",
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": "blockquote",
|
||||
"multiline": "p"
|
||||
},
|
||||
"citation": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": "cite",
|
||||
"default": ""
|
||||
},
|
||||
"mainColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"customMainColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"textColor": {
|
||||
"type": "string"
|
||||
},
|
||||
"customTextColor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": [
|
||||
"left",
|
||||
"right",
|
||||
"wide",
|
||||
"full"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user