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
Edit the post in the visual/tinyMCE editor for any reason (in my case, editing tags and adding meta box content)
Go back to Gutenberg
All your text will be lost. Sad panda. 🐼
NB: You must save your content in the visual/TinyMCE editor. Because it strips p tags.
My recommendation would be to somehow force-add them back in? I know it should never happen in the future, but if someone goes into the text editor for any reason and adds content not knowing that they have to have p tags, they'll lose content.
The text was updated successfully, but these errors were encountered:
I think we can consider this as closed by #1929 because removing the p tags will mark the block as corrupted and it will be protected from any gutenberg change.
If the text content 'loses' it's paragraph tags, it gets 'eaten' by Gutenberg.
So for example, if you have this, everything works:
Looks like this:
But if you have this it won't:
That looks like this:
It basically created an EMPTY text block. If I go into the text editor, it looks like this:
The easiest way to reproduce would be this:
All your text will be lost. Sad panda. 🐼
NB: You must save your content in the visual/TinyMCE editor. Because it strips p tags.
My recommendation would be to somehow force-add them back in? I know it should never happen in the future, but if someone goes into the text editor for any reason and adds content not knowing that they have to have p tags, they'll lose content.
The text was updated successfully, but these errors were encountered: