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