Bibcite footnotes modified for CKEditor 5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.4 KiB

Merged BibCite Footnotes module

This package merges the original bibcite_footnotes module and the CKEditor 5-only bibcite_footnotes_2 module back into a single Drupal module named bibcite_footnotes.

What changed

  • Kept the original bibcite_footnotes machine name.
  • Removed the hard dependency on fakeobjects from the main .info.yml so the module can be used on CKEditor 5 / Drupal 10+ sites.
  • Added bibcite_footnotes.ckeditor5.yml for CKEditor 5 toolbar integration.
  • Added the CKEditor 5 footnote_picker library and supporting CSS/JS from bibcite_footnotes_2.
  • Repointed CKEditor 5 library references from bibcite_footnotes_2/... to bibcite_footnotes/....
  • Removed the duplicate/stale CKEditor 5 PHP plugin class and old raw js/ckeditor5 plugin files to avoid competing CKEditor 5 plugin definitions.
  • Kept the CKEditor 4 plugin files/classes for older Drupal 9 / CKEditor 4 use.

Notes

The optional bibcite_footnotes_article_with_citations submodule is still a CKEditor 4 example configuration because its installed editor config uses editor: ckeditor and the reference_footnotes CKEditor 4 toolbar button.

On a CKEditor 5 site, enable the main module and add the Footnote/Citation button to the desired text format's CKEditor 5 toolbar. Make sure the text format allows the custom <fn value page reference> element and the filter_reference_footnotes filter is enabled.