Problem/Motivation

When the WxT Panel widget is activated for a ckeditor5 enabled text format we're seeing panel markup being transformed from

<section class="panel panel-default pull-right">
    <header class="panel-heading">
        <h5 class="panel-title">
            Here's some text.
        </h5>
    </header>
</section>

to

<section class="panel panel-default">
    <header class="panel-heading">
            Here's some text.
    </header>
</section>

Steps to reproduce

upgrade to WxT 6.3.x or 6.2.x / 6.1.x (confirmed) / possibly also 5.6.x / 5.4.x

Verify in your text format (usually Full HTML or Rich text) , if the WxT Panel is enabled then observe the issue summary illustrated before/after behavior.

Now, remove WxT Panel from the Rich Text/Full HTML text format, save it.

After removing WxT Panel, the before is the same as the after (as expected).

Proposed resolution

Remove WxT Panel from the text format as a workaround

Remaining tasks

Improve the WxT Panel code.

User interface changes

See explanations above.

API changes

See the code for WxT Panel widget for ckeditor5

Data model changes

N/A

Comments

joseph.olstad created an issue. See original summary.

joseph.olstad’s picture

Assigned: joseph.olstad » Unassigned
joseph.olstad’s picture

diff --git a/custom/config/sync/editor.editor.rich_text.yml b/custom/config/sync/editor.editor.rich_text.yml
index 38e47a8f7f9452d7ac9c2802fe67ff716baab9c2..2b175a10d180ae0d888dfff1f24eba9313229207 100644
--- a/custom/config/sync/editor.editor.rich_text.yml
+++ b/custom/config/sync/editor.editor.rich_text.yml
@@ -44,7 +44,6 @@ settings:
       - cke5_table_fix_dummy
       - cke5_label_fix_dummy
       - cke5_sup_fix_dummy
-      - panel
       - findAndReplace
       - fullScreen
       - fontawesome

AND

diff --git a/custom/config/sync/editor.editor.full_html.yml b/custom/config/sync/editor.editor.full_html.yml
index 46d29eaeb06bb7062b58bc2d70b5b3cf4633618f..e2c95480fb29a7d6ecbb7c9f5e3a79c56f5b66ba 100644
--- a/custom/config/sync/editor.editor.full_html.yml
+++ b/custom/config/sync/editor.editor.full_html.yml
@@ -35,7 +35,6 @@ settings:
       - undo
       - redo
       - '|'
-      - panel
       - '|'
       - link
       - block