Open nsrosenqvist opened 5 years ago
Could you elaborate how and based on what this feature should work? Please, write both in terms of the UI and data in the editor.
@mlewand the way I'm envisioning it would be that a footnote editor is opened as a modal dialog when a toolbar button is pressed. It should show a field containing the footnote definition as well as a list underneath that automatically filters previously created footnotes as one types it in, allowing one to select previously created references.
The index of footnotes would be saved as a list at the very end of the body of the text with anchors correlating to the footnote index so that links can be clicked wherever referenced.
I would also be interested in this
Now with the possibility of generating PDF and WORD, is there any idea of when and how to implement this?
The existing Footnotes plugin would be a good start - see demo page. Current plugin seems to be for version 4 only.
@mlewand what kind of missing information you need to know to start working on this feature? IMO it should be 2 block widgets, example
Adding by button
With built-in ordering items and possible to remove, please check that, when I added another foot note, we change number automatically in footnotes and noteholders
If you click on note holder, then related footnote item should be focused
We hope to see some work to be done here and include footnotes into CKeditor core as this is a much needed feature (moving from CKeditor 4 to 5).
Thanks
It is possible to use footnotes on D10 but AFAICT the UI is a bit broken.
You must put the snip in this comment into your composer.json, in patches under extras. (see)
I also had to "composer require cweagans/composer-patches" for the patching to work.
Then you can "composer require 'drupal/footnotes:^3.0'" and it will be automatically patched for CK5 and D10.
Is this a bug report or feature request? (choose one)
🆕 Feature request
💻 Version of CKEditor
CKEditor v5
Request
It would be great if a footnote editor could be included as a core plugin. I've only been able to find old modules built specifically to be integrated with Drupal that was for v3
If you'd like to see this feature implemented, add 👍 to this post.