ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.36k stars 3.68k forks source link

Feature request: footnote editor #1965

Open nsrosenqvist opened 5 years ago

nsrosenqvist commented 5 years ago

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.

mlewand commented 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.

nsrosenqvist commented 5 years ago

@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.

Discordius commented 5 years ago

I would also be interested in this

dkrahn commented 3 years ago

Now with the possibility of generating PDF and WORD, is there any idea of when and how to implement this?

peterhebert commented 3 years ago

The existing Footnotes plugin would be a good start - see demo page. Current plugin seems to be for version 4 only.

Madejczyk commented 2 years ago

@mlewand what kind of missing information you need to know to start working on this feature? IMO it should be 2 block widgets, example

ahmedzeidan-ul commented 1 year ago

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

hyperlogos commented 1 year ago

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.