author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 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/preformatted", |
18 | 5 |
"title": "Preformatted", |
16 | 6 |
"category": "text", |
18 | 7 |
"description": "Add text that respects your spacing and tabs, and also allows styling.", |
8 |
"textdomain": "default", |
|
16 | 9 |
"attributes": { |
10 |
"content": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
11 |
"type": "rich-text", |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
12 |
"source": "rich-text", |
16 | 13 |
"selector": "pre", |
18 | 14 |
"__unstablePreserveWhiteSpace": true, |
15 |
"__experimentalRole": "content" |
|
16 | 16 |
} |
17 |
}, |
|
18 |
"supports": { |
|
19 |
"anchor": true, |
|
18 | 20 |
"color": { |
19 | 21 |
"gradients": true, |
22 |
"__experimentalDefaultControls": { |
|
23 |
"background": true, |
|
24 |
"text": true |
|
25 |
} |
|
18 | 26 |
}, |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
27 |
"spacing": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
28 |
"padding": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
29 |
"margin": true |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
30 |
}, |
18 | 31 |
"typography": { |
19 | 32 |
"fontSize": true, |
33 |
"lineHeight": true, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
34 |
"__experimentalFontFamily": true, |
19 | 35 |
"__experimentalFontWeight": true, |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
36 |
"__experimentalFontStyle": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
37 |
"__experimentalTextTransform": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
38 |
"__experimentalTextDecoration": true, |
19 | 39 |
"__experimentalLetterSpacing": true, |
40 |
"__experimentalDefaultControls": { |
|
41 |
"fontSize": true |
|
42 |
} |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
"clientNavigation": true |
18 | 46 |
} |
47 |
}, |
|
48 |
"style": "wp-block-preformatted" |
|
16 | 49 |
} |