summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/separator/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/separator/block.json')
-rw-r--r--wp-includes/blocks/separator/block.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/wp-includes/blocks/separator/block.json b/wp-includes/blocks/separator/block.json
new file mode 100644
index 0000000..970f6b5
--- /dev/null
+++ b/wp-includes/blocks/separator/block.json
@@ -0,0 +1,40 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/separator",
+ "title": "Separator",
+ "category": "design",
+ "description": "Create a break between ideas or sections with a horizontal separator.",
+ "keywords": [ "horizontal-line", "hr", "divider" ],
+ "textdomain": "default",
+ "attributes": {
+ "opacity": {
+ "type": "string",
+ "default": "alpha-channel"
+ }
+ },
+ "supports": {
+ "anchor": true,
+ "align": [ "center", "wide", "full" ],
+ "color": {
+ "enableContrastChecker": false,
+ "__experimentalSkipSerialization": true,
+ "gradients": true,
+ "background": true,
+ "text": false,
+ "__experimentalDefaultControls": {
+ "background": true
+ }
+ },
+ "spacing": {
+ "margin": [ "top", "bottom" ]
+ }
+ },
+ "styles": [
+ { "name": "default", "label": "Default", "isDefault": true },
+ { "name": "wide", "label": "Wide Line" },
+ { "name": "dots", "label": "Dots" }
+ ],
+ "editorStyle": "wp-block-separator-editor",
+ "style": "wp-block-separator"
+}