author | ymh <ymh.work@gmail.com> |
Mon, 08 Sep 2025 19:44:41 +0200 | |
changeset 23 | 417f20492bf7 |
parent 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
16 | 1 |
{ |
19 | 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
3 |
"apiVersion": 3, |
16 | 4 |
"name": "core/separator", |
18 | 5 |
"title": "Separator", |
16 | 6 |
"category": "design", |
18 | 7 |
"description": "Create a break between ideas or sections with a horizontal separator.", |
8 |
"keywords": [ "horizontal-line", "hr", "divider" ], |
|
9 |
"textdomain": "default", |
|
16 | 10 |
"attributes": { |
19 | 11 |
"opacity": { |
12 |
"type": "string", |
|
13 |
"default": "alpha-channel" |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
14 |
}, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
15 |
"tagName": { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
16 |
"type": "string", |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
17 |
"enum": [ "hr", "div" ], |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
18 |
"default": "hr" |
16 | 19 |
} |
20 |
}, |
|
21 |
"supports": { |
|
18 | 22 |
"anchor": true, |
19 | 23 |
"align": [ "center", "wide", "full" ], |
24 |
"color": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
25 |
"enableContrastChecker": false, |
19 | 26 |
"__experimentalSkipSerialization": true, |
27 |
"gradients": true, |
|
28 |
"background": true, |
|
29 |
"text": false, |
|
30 |
"__experimentalDefaultControls": { |
|
31 |
"background": true |
|
32 |
} |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
33 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
34 |
"spacing": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
35 |
"margin": [ "top", "bottom" ] |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
36 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
37 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
38 |
"clientNavigation": true |
19 | 39 |
} |
18 | 40 |
}, |
41 |
"styles": [ |
|
42 |
{ "name": "default", "label": "Default", "isDefault": true }, |
|
43 |
{ "name": "wide", "label": "Wide Line" }, |
|
44 |
{ "name": "dots", "label": "Dots" } |
|
45 |
], |
|
46 |
"editorStyle": "wp-block-separator-editor", |
|
47 |
"style": "wp-block-separator" |
|
16 | 48 |
} |