Nested entries within CKEditor fields on entries in an existing section sometimes fail to copy over when that section is enabled for a new site. Only the text value of the field comes over, and the nested entries get stripped out.
Copy/pasting all content (including nested entries) from one CKEditor field to another (either another entry in the same language or the same entry in another language) often fails due to "Invalid entry ID" errors about the nested entries. Sometimes it works as expected and copies the nested entries over though, so it's inconsistent.
Steps to reproduce
Create two sites with different languages.
Create a new section, enabled for the primary site only. Propagation method is "Save entries to all sites enabled for this section"
Create a CKEditor field (set to "Translate for each language") and add it to an entry type in that section. Allow this field to insert entries
Populate some content in that section with nested entries within CKEditor.
Enable the section for a second site.
Wait for the entries to propagate to the second site.
Look in the entry content for that second site - the CKEditor text content may have copied over, but not the nested entries (sometimes, this doesn't always happen).
Switch to the first site and select all > copy the content of the field (including nested entries).
Switch to the second site and attempt to paste. You should see invalid entry ID errors for each of the nested entries:
Sometimes they appear like this, and then the block will disappear after saving:
Additional info
Craft version: 5.2.1
PHP version: 8.2.20
Database driver & version: MySQL 8.0.37
Plugins & versions: CKEditor 4.1.0, Code Field 5.0.0
Description
Two separate but related issues:
Steps to reproduce
Sometimes they appear like this, and then the block will disappear after saving:
Additional info