mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
In addition to all the packages being updated to the latest versions, this commit also includes some mandatory changes to avoid editor breakage: - Update React to to 18.2.0. - Add the right stylesheets to support iframed block editors. Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc. See #57471. git-svn-id: https://develop.svn.wordpress.org/trunk@55246 602fd350-edb4-49c9-b593-d223f7449a82
48 lines
1.0 KiB
JSON
48 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"name": "core/comment-content",
|
|
"title": "Comment Content",
|
|
"category": "theme",
|
|
"ancestor": [ "core/comment-template" ],
|
|
"description": "Displays the contents of a comment.",
|
|
"textdomain": "default",
|
|
"usesContext": [ "commentId" ],
|
|
"attributes": {
|
|
"textAlign": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"supports": {
|
|
"anchor": true,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true,
|
|
"__experimentalDefaultControls": {
|
|
"background": true,
|
|
"text": true
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true,
|
|
"__experimentalFontWeight": true,
|
|
"__experimentalFontStyle": true,
|
|
"__experimentalTextTransform": true,
|
|
"__experimentalTextDecoration": true,
|
|
"__experimentalLetterSpacing": true,
|
|
"__experimentalDefaultControls": {
|
|
"fontSize": true
|
|
}
|
|
},
|
|
"spacing": {
|
|
"padding": [ "horizontal", "vertical" ],
|
|
"__experimentalDefaultControls": {
|
|
"padding": true
|
|
}
|
|
},
|
|
"html": false
|
|
}
|
|
}
|