37 lines
828 B
JSON
37 lines
828 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/loginout",
|
|
"title": "Login/out",
|
|
"category": "theme",
|
|
"description": "Show login & logout links.",
|
|
"keywords": [ "login", "logout", "form" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"displayLoginAsForm": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"redirectToCurrent": {
|
|
"type": "boolean",
|
|
"default": true
|
|
}
|
|
},
|
|
"supports": {
|
|
"className": true,
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true,
|
|
"__experimentalFontWeight": true,
|
|
"__experimentalFontStyle": true,
|
|
"__experimentalTextTransform": true,
|
|
"__experimentalTextDecoration": true,
|
|
"__experimentalLetterSpacing": true,
|
|
"__experimentalDefaultControls": {
|
|
"fontSize": true
|
|
}
|
|
}
|
|
}
|
|
}
|