Line | |
---|
1 | { |
---|
2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
---|
3 | "apiVersion": 3, |
---|
4 | "name": "core/loginout", |
---|
5 | "title": "Login/out", |
---|
6 | "category": "theme", |
---|
7 | "description": "Show login & logout links.", |
---|
8 | "keywords": [ "login", "logout", "form" ], |
---|
9 | "textdomain": "default", |
---|
10 | "attributes": { |
---|
11 | "displayLoginAsForm": { |
---|
12 | "type": "boolean", |
---|
13 | "default": false |
---|
14 | }, |
---|
15 | "redirectToCurrent": { |
---|
16 | "type": "boolean", |
---|
17 | "default": true |
---|
18 | } |
---|
19 | }, |
---|
20 | "supports": { |
---|
21 | "className": true, |
---|
22 | "spacing": { |
---|
23 | "margin": true, |
---|
24 | "padding": true, |
---|
25 | "__experimentalDefaultControls": { |
---|
26 | "margin": false, |
---|
27 | "padding": false |
---|
28 | } |
---|
29 | }, |
---|
30 | "typography": { |
---|
31 | "fontSize": true, |
---|
32 | "lineHeight": true, |
---|
33 | "__experimentalFontFamily": true, |
---|
34 | "__experimentalFontWeight": true, |
---|
35 | "__experimentalFontStyle": true, |
---|
36 | "__experimentalTextTransform": true, |
---|
37 | "__experimentalTextDecoration": true, |
---|
38 | "__experimentalLetterSpacing": true, |
---|
39 | "__experimentalDefaultControls": { |
---|
40 | "fontSize": true |
---|
41 | } |
---|
42 | }, |
---|
43 | "interactivity": { |
---|
44 | "clientNavigation": true |
---|
45 | } |
---|
46 | } |
---|
47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.