In list block, added child elements remain
-
I have created a list block in the block editor as shown below, but when I delete the child elements and reload the browser, the child elements that should have been deleted are still there.
1 Add a child element in a list block
- input text
- input text
- input text child
2 remove a child element
- input text
- input text
3 publish
4 Browser reload
- input text
- input text
After 4, the deleted child element appears.
The input text is gone, but the input field is restored.
Is this a bug?
In wordpress 6.1 I see that the list block has changed, is that an effect?If you look in the inspector, you’ll see that
2, it appears that the empty ul tag is still there after the deletion.
Is this the cause of the problem? Shouldn’t the ul tags essentially disappear with the delete action?
Create a custom block and add it to
core/list
core/list-item
and also in InnerBlocks specifying The same phenomenon is occurring.
I also tried deleting the browser cache,
and I am also trying it in the incognito window of google chrome.
I have tried plugins that can clear the cache, but the situation has not changed.
I have tried the plugin that can clear the cache, but it doesn’t change the situation.
After publishing, I went to the W3 Total Cache page and cleared the cache without reloading the page.
I went to the W3 Total Cache page, cleared the cache, and moved to the article page again, but the same phenomenon occurred.But the situation remains the same. But I don’t want to delete the cache in the operation.
use WordPress 6.1.1
use theme Twenty Twenty-Three ver: 1.0
use google chrome latest version(ver:110.0.5481.100)
※
I tried it with Twenty Twenty-Three, as it occurred with the original theme I created.
- The topic ‘In list block, added child elements remain’ is closed to new replies.