Browse Source

added icon

main
astanley 4 days ago
parent
commit
7a42db194a
  1. 4
      css/reference-footnotes.css
  2. 2
      js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js

4
css/reference-footnotes.css

@ -1,7 +1,5 @@
/**
* Styling for the inline reference footnote widget in CKEditor 5.
*
* This mimics a "fake object" icon similar to CKEditor 4.
*/
span.reference-footnote {
display: inline-block;
@ -17,5 +15,3 @@ span.reference-footnote {
box-sizing: border-box;
}
/* You can optionally point this to a PNG if you prefer.
For now, this is intended to be used with the SVG icon in toolbar only. */

2
js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js

@ -21,7 +21,7 @@
if (!Plugin || !ButtonView) {
// eslint-disable-next-line no-console
console.warn('[bibcite_footnotes_2] CKEditor5 globals not found; FootnotePicker2 not registered.');
console.warn('[bibcite_footnotes] CKEditor5 globals not found; FootnotePicker2 not registered.');
return;
}
// Sanitize ONLY the footnote body (not the article).

Loading…
Cancel
Save