You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a nested entry is removed in a CKEditor field, and then re-added via undo, the re-inserted nested entry card displays "Invalid entry ID". This only happens if the provisional draft has time to auto-save in between the nested entry being removed, and the undo action (i.e. if the author undoes really fast, before the auto-save has time to kick in, the nested card comes back as normal).
Refreshing the edit page in the browser displays the nested entry card restored to its former glory.
CleanShot.2024-05-10.at.13.55.51.mp4
Steps to reproduce
Add a nested entry to a CKEditor field
Remove the nested entry. Allow the provisional draft to auto-save after removing it.
Undo the removal, either by using the undo shortcut (Cmd+Z on Mac) or via the CKEditor "Undo" toolbar action
Observe that the nested entry card now says "Invalid entry ID (something)".
Refresh the edit page; observe that the nested entry card is now restored.
Additional info
Craft version: 5.1.2
PHP version:
Database driver & version:
Plugins & versions: CKEditor 4.0.4
The text was updated successfully, but these errors were encountered:
Description
If a nested entry is removed in a CKEditor field, and then re-added via undo, the re-inserted nested entry card displays "Invalid entry ID". This only happens if the provisional draft has time to auto-save in between the nested entry being removed, and the undo action (i.e. if the author undoes really fast, before the auto-save has time to kick in, the nested card comes back as normal).
Refreshing the edit page in the browser displays the nested entry card restored to its former glory.
CleanShot.2024-05-10.at.13.55.51.mp4
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: