rebase on oct-10-2023
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 2,
|
||||
"apiVersion": 3,
|
||||
"name": "core/shortcode",
|
||||
"title": "Shortcode",
|
||||
"category": "widgets",
|
||||
@@ -9,7 +9,7 @@
|
||||
"attributes": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"source": "html"
|
||||
"source": "raw"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
|
||||
@@ -1,44 +1,27 @@
|
||||
[data-type="core/shortcode"] .block-editor-plain-text{
|
||||
max-height:250px;
|
||||
}
|
||||
[data-type="core/shortcode"].components-placeholder{
|
||||
min-height:0;
|
||||
}
|
||||
|
||||
.blocks-shortcode__textarea{
|
||||
border:1px solid #949494;
|
||||
border-radius:2px;
|
||||
box-shadow:0 0 0 transparent;
|
||||
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
||||
font-size:16px;
|
||||
line-height:normal;
|
||||
padding:6px 8px;
|
||||
transition:box-shadow .1s linear;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
.blocks-shortcode__textarea{
|
||||
transition-delay:0s;
|
||||
transition-duration:0s;
|
||||
}
|
||||
background:#fff !important;
|
||||
border:1px solid #1e1e1e !important;
|
||||
border-radius:2px !important;
|
||||
box-shadow:none !important;
|
||||
box-sizing:border-box;
|
||||
color:#1e1e1e !important;
|
||||
font-family:Menlo,Consolas,monaco,monospace !important;
|
||||
font-size:16px !important;
|
||||
max-height:250px;
|
||||
padding:12px !important;
|
||||
resize:none;
|
||||
}
|
||||
@media (min-width:600px){
|
||||
.blocks-shortcode__textarea{
|
||||
font-size:13px;
|
||||
line-height:normal;
|
||||
font-size:13px !important;
|
||||
}
|
||||
}
|
||||
.blocks-shortcode__textarea:focus{
|
||||
border-color:var(--wp-admin-theme-color);
|
||||
box-shadow:0 0 0 1px var(--wp-admin-theme-color);
|
||||
outline:2px solid transparent;
|
||||
}
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
}
|
||||
.blocks-shortcode__textarea::-moz-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
opacity:1;
|
||||
}
|
||||
.blocks-shortcode__textarea:-ms-input-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
border-color:var(--wp-admin-theme-color) !important;
|
||||
box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important;
|
||||
outline:2px solid transparent !important;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{border:1px solid #949494;border-radius:2px;box-shadow:0 0 0 transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-delay:0s;transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}
|
||||
[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;box-sizing:border-box;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important;resize:none}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px!important}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}
|
||||
@@ -1,44 +1,27 @@
|
||||
[data-type="core/shortcode"] .block-editor-plain-text{
|
||||
max-height:250px;
|
||||
}
|
||||
[data-type="core/shortcode"].components-placeholder{
|
||||
min-height:0;
|
||||
}
|
||||
|
||||
.blocks-shortcode__textarea{
|
||||
border:1px solid #949494;
|
||||
border-radius:2px;
|
||||
box-shadow:0 0 0 transparent;
|
||||
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
||||
font-size:16px;
|
||||
line-height:normal;
|
||||
padding:6px 8px;
|
||||
transition:box-shadow .1s linear;
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
.blocks-shortcode__textarea{
|
||||
transition-delay:0s;
|
||||
transition-duration:0s;
|
||||
}
|
||||
background:#fff !important;
|
||||
border:1px solid #1e1e1e !important;
|
||||
border-radius:2px !important;
|
||||
box-shadow:none !important;
|
||||
box-sizing:border-box;
|
||||
color:#1e1e1e !important;
|
||||
font-family:Menlo,Consolas,monaco,monospace !important;
|
||||
font-size:16px !important;
|
||||
max-height:250px;
|
||||
padding:12px !important;
|
||||
resize:none;
|
||||
}
|
||||
@media (min-width:600px){
|
||||
.blocks-shortcode__textarea{
|
||||
font-size:13px;
|
||||
line-height:normal;
|
||||
font-size:13px !important;
|
||||
}
|
||||
}
|
||||
.blocks-shortcode__textarea:focus{
|
||||
border-color:var(--wp-admin-theme-color);
|
||||
box-shadow:0 0 0 1px var(--wp-admin-theme-color);
|
||||
outline:2px solid transparent;
|
||||
}
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
}
|
||||
.blocks-shortcode__textarea::-moz-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
opacity:1;
|
||||
}
|
||||
.blocks-shortcode__textarea:-ms-input-placeholder{
|
||||
color:rgba(30,30,30,.62);
|
||||
border-color:var(--wp-admin-theme-color) !important;
|
||||
box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important;
|
||||
outline:2px solid transparent !important;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{border:1px solid #949494;border-radius:2px;box-shadow:0 0 0 transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:normal;padding:6px 8px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-delay:0s;transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}
|
||||
[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;box-sizing:border-box;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important;resize:none}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px!important}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid transparent!important}
|
||||
Reference in New Issue
Block a user