- This topic has 3 replies, 3 voices, and was last updated 1 year, 4 months ago by .
-
Topic
-
While creating a dinner menu block for a restaurant, after the content for the repeatable menu items gets too long, it does not load the preview anymore as well as it becomes uneditable when reloading the page in the editor.
Here is the html from the block editor:
WORKING (shorter content)
NOT WORKING (longer content – only the number between 41 and 60 have been added)
The number of repeatable items does not seem to matter. Just the length of the meta stored within the html appears to make the difference. Once the content gets too long, it can still save but not anymore be switched into preview or edited when the page gets reloaded in the backend.
When it happens, in the console, the call to
shows the following error: Failed to load resource: net::ERR_CONNECTION_CLOSED
Here is the block initialization:
Callback function:
Thank you for checking into this!
- You must be logged in to reply to this topic.