mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +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,15 @@
|
||||
{
|
||||
"name": "core/code",
|
||||
"category": "text",
|
||||
"attributes": {
|
||||
"content": {
|
||||
"type": "string",
|
||||
"source": "text",
|
||||
"selector": "code"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user