Problem/Motivation

I've written the functionality to update an existing alert or panel type (info, success, warning, etc)

Steps to reproduce

N/A

Proposed resolution

When a users' selection is inside the body of an existing alert or panel, clicking the toolbar button for the associated widget will update the selected alert or panel rather than inserting a new one.

Remaining tasks

Would be nice to have a sub-toolbar for editing settings like this for widgets in the same way that the table plugin has for adding rows, columns, etc.

Code review & Further testing with real content

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork wxt-3361560

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

Michel-Tremblay created an issue. See original summary.

smulvih2’s picture

Title: Give users ability to edit existing alerts and panels in CKEditor 5 » [D10] Give users ability to edit existing alerts and panels in CKEditor 5
smulvih2’s picture

Status: Needs review » Fixed

I tested this on the 5.0.x branch and it works as expected. I can now select the alert/panel, and clicking the alert/panel button allows me to modify the type of alert/panel. This means users can change the plugin type without having to use Source, same as D9 version.

Merged with 5.0.x, thanks for the upgrade @michel!

Status: Fixed » Closed (fixed)

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