-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Copied wide-aligned blocks keep the alignment even in themes that don't support it #12333
Comments
I tried the following steps and couldn't see copied
Result: the image at the top which is Do you see anything different in my testing steps compared to yours? What OS and browser version did you use for testing? What theme did you use for testing? |
Oh, I see. You've basically pasted the copied content directly into Gutenberg's Visual Editor mode. I didn't realize this was actually possible.
For information, I've used super-plain testing theme (download zip if further tests needed). |
@manake also pointed out in #12948 that disabling
|
I added the |
Can I remove How would I do that? Maybe there exists some |
How to recreate
Copy the sample Gutenberg post content from https://wordpress.org/gutenberg/ (by switching to "Code Editor" view). And paste it into a test post on a website using a theme that does not support wide/full alignment of blocks.
Everything works as expected on a website front-end, however, when editing the post user keeps seeing the cover image full aligned. But there are no wide/full alignment buttons when editing the block.
When the block alignment is changed to left/right/center, the block is displayed correctly in admin too, matching the width of the other content elements/blocks.
The issue
This might bring a confusion to a user copying content from one source to another. User might want to recreate the full alignment, but failing doing so, and failing understanding how it actually works.
Expected behavior
When copying wide/full aligned block from a website that supports such alignment into a website that does not, the block should not be wide/full aligned when editing the post.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: