Scrollable table: wrapper div not removed after saving and then unchecking the property

Created on 7 March 2025, about 1 month ago

Problem/Motivation

Wrapper div is not removed when scrolling is enabled and saved

The problem happens because of the disconnect between the table model element and div. When the wrapper div is added for scrollable table, it is not part of the table model. When we load the the content edit screen second time, the wrapper div in not upcast to be part of the table element

Steps to reproduce

  1. Create a new content, with scrolling enabled and save
  2. Edit the content and disable scrolling.
  3. The wrapper div is not removed and scrolling is still enabled

Proposed resolution

.
Here are the steps to fix it.

  1. Remove the code for adding wrapper div.
  2. Implement a wysiwig filter to add the wrapper div in the content view. The wrapper div is never saved in the db. It is only visible in the front end.

Remaining tasks

Create a patch for the fix

User interface changes

No changes

API changes

No changes

Data model changes

No changes

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ramarajuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024