Skip to content

CKEditor nested entries are not propagated when enabling a new site (only text is copied) #548

@thibault-boa

Description

@thibault-boa

Description

When enabling a new site for an existing section in a multi-site setup, CKEditor field content is only partially propagated.

Plain text content is copied correctly, but nested entries (inserted via the "+" button / entry types) are not propagated. As a result, all embedded entries are missing on the newly enabled site, while they still exist on the primary site.

The CKEditor field itself is correctly configured (entry types available, "+" button present), and creating new nested entries on the secondary site works as expected. The issue only affects propagation of existing content when a new site is added.

Steps to reproduce

  1. Create a section enabled for a primary site (e.g. en)
  2. Add an entry with a CKEditor field:
  • Include plain text
  • Insert one or more nested entries via the "+" button
  1. Save the entry
  2. Add a new site (e.g. nl) with the same section
  3. Let Craft propagate entries to the new site

Additional info

Craft version: 5.9.17
PHP version: 8.3
Database driver & version: mysql 8.0
Plugins & versions:
craftcms/ckeditor: 5.3.1

Image This is what I see when I try to paste the content with the nested entries to the new site. Seems like a similar issue like #426

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions