-
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
Problem with images and text besides it. (Enters dissapear) #29708
Comments
Thanks for the issue, You're using empty paragraphs as space. Ideally, you shouldn’t be using empty paragraphs as “space” HTML by default don’t show them even if they are there. The Classic editor has what I call a hack adding content (space) to the paragraphs to show them even if you didn’t enter the space. Gutenberg is closer to the standard in this case. If you really want spacing, you should use the “spacer block” or padding to avoid introducing meaningless paragraphs to your markup. There's already an issue somewhere about this. Let's try to find it and close as duplicate. |
@jasmussen youu might know where this was discussed before. |
Is #17366 the issue you are referring to, @youknowriad ? |
That is definitely one related issue. Let's consolidate there for now. Thanks @priethor |
I agree. While it's not 100% the same issue but it's highly related and I think the solutions provided in that ticket might avoid issues like I mentioned in this ticket. |
Description
The enters go missing when you update a post when you use the classic block. Especially, when the text is next to an image.
Step-by-step reproduction instructions
Perfect example: https://arpegi.wordpress.com/2021/02/27/review-pokemon-pinball-gameboy/
When I editted this through the block editor / Gutenberg, all the enters I placed to only have text next to the image in a classic block, the enters went poof as soon as I clicked the publish or update button. When I used the classic editor, this behaviour didn't occur.
The issue occured when using the phone and the desktop version.
Expected behaviour
Just like the classic editor, classic blocks should keep the lay-out and especially the enters.
Actual behaviour
The enters where deleted and the images got next to each other and became a mess. An example (where thankfully it looks nice) can be seen here where the author talks about the different skins of the Pokémon Mini: https://arpegi.wordpress.com/2021/02/27/review-pokemon-pinball-mini-pokemon-mini/
WordPress information
Device information
The text was updated successfully, but these errors were encountered: