-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pasting text into columns isn't showing up on frontend #16645
Comments
I think this is a problem with all Inner Blocks. So far found the behaviour in both columns and the group block and it doesn't matter in what kind of block we paste: heading, list or paragraph. This also happens if you add a paragraph and paste a copied image in it: the block is converted to image but after save and refresh it's gone. |
When the text is pasted, the gutenberg/packages/block-editor/src/store/selectors.js Lines 176 to 188 in 643412c
|
I have a theory, but it needs more testing to verify it. The issue might be the caching of gutenberg/packages/block-editor/src/store/selectors.js Lines 123 to 144 in 643412c
I notice that it only has This cache looks like it is updated when the gutenberg/packages/block-editor/src/store/reducer.js Lines 266 to 273 in 643412c
The issue might be that when Contrast this to inserting a new block for an inner block and it looks like the gutenberg/packages/block-editor/src/store/reducer.js Lines 244 to 256 in 643412c
|
Looks like it's related to the incorrect clientId being passed into |
Describe the bug
I'm trying to paste test into the Column block, but that text isn't showing on the frontend. It only shows up if I make a change to the color, size, or another attribute first, then it shows.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that the text shows without having to change any attributes of it. In the screencast below, I've already copied the text in the Columns block. I've made an attribute change to the text in the first columns making a line bold. But the other two columns I haven't touched. When I check the preview, the two columns of text don't show.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: