edit pages
This commit is contained in:
64
old/wp-includes/blocks/footnotes/block.json
Normal file
64
old/wp-includes/blocks/footnotes/block.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/footnotes",
|
||||
"title": "Footnotes",
|
||||
"category": "text",
|
||||
"description": "Display footnotes added to the page.",
|
||||
"keywords": [ "references" ],
|
||||
"textdomain": "default",
|
||||
"usesContext": [ "postId", "postType" ],
|
||||
"supports": {
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"radius": false,
|
||||
"color": false,
|
||||
"width": false,
|
||||
"style": false
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"background": true,
|
||||
"link": true,
|
||||
"text": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"link": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"html": false,
|
||||
"multiple": false,
|
||||
"reusable": false,
|
||||
"inserter": false,
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"margin": false,
|
||||
"padding": false
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalWritingMode": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"style": "wp-block-footnotes"
|
||||
}
|
18
old/wp-includes/blocks/footnotes/style-rtl.css
Normal file
18
old/wp-includes/blocks/footnotes/style-rtl.css
Normal file
@ -0,0 +1,18 @@
|
||||
.editor-styles-wrapper,.entry-content{
|
||||
counter-reset:footnotes;
|
||||
}
|
||||
|
||||
a[data-fn].fn{
|
||||
counter-increment:footnotes;
|
||||
display:inline-flex;
|
||||
font-size:smaller;
|
||||
text-decoration:none;
|
||||
text-indent:-9999999px;
|
||||
vertical-align:super;
|
||||
}
|
||||
|
||||
a[data-fn].fn:after{
|
||||
content:"[" counter(footnotes) "]";
|
||||
float:right;
|
||||
text-indent:0;
|
||||
}
|
1
old/wp-includes/blocks/footnotes/style-rtl.min.css
vendored
Normal file
1
old/wp-includes/blocks/footnotes/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:right;text-indent:0}
|
18
old/wp-includes/blocks/footnotes/style.css
Normal file
18
old/wp-includes/blocks/footnotes/style.css
Normal file
@ -0,0 +1,18 @@
|
||||
.editor-styles-wrapper,.entry-content{
|
||||
counter-reset:footnotes;
|
||||
}
|
||||
|
||||
a[data-fn].fn{
|
||||
counter-increment:footnotes;
|
||||
display:inline-flex;
|
||||
font-size:smaller;
|
||||
text-decoration:none;
|
||||
text-indent:-9999999px;
|
||||
vertical-align:super;
|
||||
}
|
||||
|
||||
a[data-fn].fn:after{
|
||||
content:"[" counter(footnotes) "]";
|
||||
float:left;
|
||||
text-indent:0;
|
||||
}
|
1
old/wp-includes/blocks/footnotes/style.min.css
vendored
Normal file
1
old/wp-includes/blocks/footnotes/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:left;text-indent:0}
|
Reference in New Issue
Block a user