Allow footnotes block

This commit is contained in:
Tetrakern 2024-03-03 14:25:23 +01:00
parent 10369b9ce2
commit dd8b4078eb
5 changed files with 17 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -273,6 +273,7 @@ function fictioneer_allowed_block_types() {
'core/html',
'core/separator',
'core/spacer',
'core/footnotes',
'core/more',
'core/buttons',
'core/button',

View File

@ -669,3 +669,15 @@ figure.wp-block-pullquote {
max-width: unset;
}
}
// =============================================================================
// FOOTNOTES
// =============================================================================
.wp-block-footnotes {
border-style: solid;
li:not(:last-child) {
margin-bottom: 0;
}
}

View File

@ -223,7 +223,7 @@ p a,
}
.content-section {
:where(.list, .block-list, .litrpg-body :where(ul, ol)) {
:where(.list, .block-list, .wp-block-footnotes, .litrpg-body :where(ul, ol)) {
list-style: initial;
padding-left: 1.75rem;
margin: 1.5rem 0 0;
@ -257,7 +257,7 @@ p a,
list-style: square;
}
:where(.list, ol.block-list, .litrpg-body ol) {
:where(.list, ol.block-list, ol.wp-block-footnotes, .litrpg-body ol) {
list-style: ordered-list;
}
}