diff --git a/.gitignore b/.gitignore
index 36befbc..527246b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,7 +30,7 @@
# npm
node_modules/
-*.patch
+#*.patch
/.csslintrc
/.eslintrc.json
/.ht.router.php
@@ -47,4 +47,4 @@ node_modules/
/web_main/.vscode/*
.vscode/*
-/log
\ No newline at end of file
+/log
diff --git a/composer.json b/composer.json
index 4dbbae0..663b0f0 100644
--- a/composer.json
+++ b/composer.json
@@ -121,6 +121,9 @@
},
"drupal/core": {
"CKEDITOR for summary https://www.drupal.org/project/drupal/issues/2671162":"https://www.drupal.org/files/issues/2025-08-23/2671162-158.patch"
+ },
+ "drupal/footnotes": {
+ "leave paragraphs tags in place":"./patches/footnotes-leave-paragraphs.patch"
}
}
}
diff --git a/config/sync/editor.editor.footnote.yml b/config/sync/editor.editor.footnote.yml
index 63c292b..7334000 100644
--- a/config/sync/editor.editor.footnote.yml
+++ b/config/sync/editor.editor.footnote.yml
@@ -16,13 +16,22 @@ settings:
- bold
- italic
- underline
- - link
- bulletedList
+ - drupalInsertImage
+ - showBlocks
plugins:
+ ckeditor5_imageResize:
+ allow_resize: true
ckeditor5_list:
properties:
reversed: false
startIndex: false
multiBlock: false
image_upload:
- status: false
+ status: true
+ scheme: public
+ directory: inline-images
+ max_size: null
+ max_dimensions:
+ width: 1080
+ height: null
diff --git a/config/sync/filter.format.footnote.yml b/config/sync/filter.format.footnote.yml
index f021cea..0e1d49a 100644
--- a/config/sync/filter.format.footnote.yml
+++ b/config/sync/filter.format.footnote.yml
@@ -3,6 +3,10 @@ langcode: en
status: true
dependencies:
module:
+ - editor
+ - footnotes
+ - linkit
+ - media
- pathologic
_core:
default_config_hash: SYAah-i4HbJnc3ZnKC9NmY4M0UAFYpfobYzxg0eMunM
@@ -10,23 +14,108 @@ name: Footnote
format: footnote
weight: 0
filters:
+ editor_file_reference:
+ id: editor_file_reference
+ provider: editor
+ status: true
+ weight: -48
+ settings: { }
+ filter_align:
+ id: filter_align
+ provider: filter
+ status: false
+ weight: -47
+ settings: { }
+ filter_autop:
+ id: filter_autop
+ provider: filter
+ status: true
+ weight: -43
+ settings: { }
+ filter_caption:
+ id: filter_caption
+ provider: filter
+ status: false
+ weight: -46
+ settings: { }
+ filter_footnotes:
+ id: filter_footnotes
+ provider: footnotes
+ status: false
+ weight: -44
+ settings:
+ footnotes_collapse: false
+ footnotes_css: true
+ footnotes_dialog: false
+ footnotes_dialog_prevent_bubbling: false
+ footnotes_footer_disable: false
+ footnotes_preview_show_text: true
+ footnotes_preview_character: ''
filter_html:
id: filter_html
provider: filter
status: true
- weight: -10
+ weight: -50
settings:
- allowed_html: '