Skip to content

Rich text editor sub-lists are broken when re-editing the content #9866

@ahukkanen

Description

@ahukkanen

Describe the bug
When re-editing content that has sub-lists in it, the sub-lists disappear, although they are correctly saved in the database.

Probably related to the latest Quill changes we've done. When reporting this I tested this in nightly and it does not seem to have this issue, so it is likely related to #9640.

To Reproduce
Steps to reproduce the behavior:

  1. Go to admin panel -> Pages
  2. Edit some page
  3. Add a list (ordered or unordered) with some sub-items in it
  4. Save the page
  5. Go back to edit that page
  6. See sub-lists have disappeared

Expected behavior
I would expect to sub-lists to persists.

Screenshots
On first edit:
Working sub-lists

When coming back to the view:
Broken sub-lists

Stacktrace
N/A

Extra data (please complete the following information):

  • Device: Desktop
  • Device OS: Ubuntu 22.04
  • Browser: Chrome
  • Decidim Version: develop
  • Decidim installation: ?

Additional context
Possibly related to #9640.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions