2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/separator",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Separator",
|
2020-07-01 08:29:03 -04:00
|
|
|
"category": "design",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Create a break between ideas or sections with a horizontal separator.",
|
|
|
|
"keywords": [ "horizontal-line", "hr", "divider" ],
|
|
|
|
"textdomain": "default",
|
2020-07-01 08:29:03 -04:00
|
|
|
"attributes": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"opacity": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "alpha-channel"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
},
|
|
|
|
"supports": {
|
2020-10-20 09:36:16 -04:00
|
|
|
"anchor": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"align": [ "center", "wide", "full" ],
|
|
|
|
"color": {
|
2022-09-20 11:43:29 -04:00
|
|
|
"enableContrastChecker": false,
|
2022-04-12 11:12:47 -04:00
|
|
|
"__experimentalSkipSerialization": true,
|
|
|
|
"gradients": true,
|
|
|
|
"background": true,
|
|
|
|
"text": false,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true
|
|
|
|
}
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"spacing": {
|
|
|
|
"margin": [ "top", "bottom" ]
|
2022-04-12 11:12:47 -04:00
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
2021-05-19 11:09:27 -04:00
|
|
|
"styles": [
|
|
|
|
{ "name": "default", "label": "Default", "isDefault": true },
|
|
|
|
{ "name": "wide", "label": "Wide Line" },
|
|
|
|
{ "name": "dots", "label": "Dots" }
|
|
|
|
],
|
2021-01-27 21:04:13 -05:00
|
|
|
"editorStyle": "wp-block-separator-editor",
|
|
|
|
"style": "wp-block-separator"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|