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
{{ message }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Right now, when inner blocks are hidden in the editor, they are not serialized and stored in the WP database, so that information is lost. Thus, the block cannot interactively show inner blocks later in the browser.
There were some previous attempts to solve this by adding a <template> tag.
Should we try to do this in the Gutenberg repo instead? Maybe in the serializer?
I'm not sure if it makes sense to do it in user land when it won't be necessary, and here we have already tested that the <template> approach works fine.
Non-interactive blocks don't need this because those "hidden" inner blocks won't ever be shown, and therefore they don't need to be sent to the client.
Right now, when inner blocks are hidden in the editor, they are not serialized and stored in the WP database, so that information is lost. Thus, the block cannot interactively show inner blocks later in the browser.
There were some previous attempts to solve this by adding a
<template>
tag.However, we removed the
<template>
tag on #28 (see fc6fa92).Related to #29.
The text was updated successfully, but these errors were encountered: