Problem/Motivation

When editing existing default well panels, the widget is converted to a default panel (panel-default well => panel-default)

Steps to reproduce

Add default well styled panel to a page, save, then edit the page again. The default well panel will be converted to a default panel

Proposed resolution

Add a higher converter priority to the default well converters. Fix classes associated with converters. It seems that CKEditor does not like spaces in class names.

Remaining tasks

Further testing/Review

User interface changes

Renamed "default well" list option to "default-well" for easy association with widgets through the code. Could implement a displayName option to give users a different value than what is used to identify the type of panel that is being created.

API changes

N/A

Data model changes

N/A

Issue fork wxt-3362702

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: Default well panels being converted to default panels » [D10] Default well panels being converted to default panels

smulvih2’s picture

Status: Needs review » Fixed

Tested the MR and it fixes the issue. Now when I save a default panel with a well, save the node, then go back to edit it, the .well class remains on the panel as expected.

Status: Fixed » Closed (fixed)

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