Problem/Motivation

The custom editor is limited in what it offers in terms of customising the editor experience, such as:

  • Ability to add links, bold, underline within the editor
  • Ability to add field descriptions within the editor such as explaining that automated numbering is in place if left blank

How it currently looks:

Footnotes within CK Editor 5 screenshot

Proposed resolution

Suggest we switch to Drupal's modal window like https://www.drupal.org/project/ckeditor5_embedded_content does. Here is a proof of concept screenshot implemented in the way that module does, but as an inline object instead. Before considering refining this into a merge request, would like to gauge whether there is even appetite for this or whether I should create it as a separate module (would rather contribute to this module of course!).

Proposed new footnotes within CK Editor 5 screenshot using modal

Remaining tasks

Provide merge request.

User interface changes

Use Drupal Modal dialogue window.

API changes

None

Data model changes

None, batch update hook to maintain status quo.

Issue fork footnotes-3405986

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

scott_euser created an issue. See original summary.

scott_euser’s picture

Assigned: Unassigned » scott_euser
Status: Active » Needs work
StatusFileSize
new51.47 KB
new66.33 KB

Still more work to be done on this but mostly functioning correctly:

Screenshot of the footnote within CKE5

Screenshot of the modal window to edit the footnote

scott_euser’s picture

Version: 3.1.x-dev » 4.0.0-alpha1

  • scott_euser committed 62acf0b0 on 4.0.x
    Issue #3405986 by scott_euser: Switch to Modal window to allow more...
scott_euser’s picture

Assigned: scott_euser » Unassigned
Status: Needs work » Fixed

First draft of this is in place in 4x branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.