Refactor: Separate input form styles to a dedicated stylesheet#68501
Merged
ramonjd merged 2 commits intoWordPress:trunkfrom Jan 6, 2025
Merged
Refactor: Separate input form styles to a dedicated stylesheet#68501ramonjd merged 2 commits intoWordPress:trunkfrom
ramonjd merged 2 commits intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
ramonjd
approved these changes
Jan 6, 2025
Member
ramonjd
left a comment
There was a problem hiding this comment.
Thanks for the quick fix. LGTM
Here's the site editor:
Kapture.2025-01-07.at.10.24.34.mp4
I also tested the post editor. 👍🏻
I'll merge since it fixes a pretty bad bug. If any post-merge refactors are required, I'm happy to follow up.
westonruter
added a commit
that referenced
this pull request
Jan 7, 2025
…ry/interactivity-lazy-hydration * 'trunk' of https://github.com/WordPress/gutenberg: (143 commits) Update: Bundle upload media. (#68522) Add: Media field changing ui to Dataviews and content preview field to posts and pages (#67278) Bump the react-native group with 2 updates (#68095) Check Storybook build on CI for PRs (#68466) Bump the github-actions group across 1 directory with 2 updates (#68436) Classic theme preview: remove admin-bar class name (#68519) Remove geriux as code owner (#68523) Post Featured Image: Adds control to clear the the overlay color (#68525) Components: Standardize reduced motion handling using media queries (#68421) Upgrade Playwright to v1.49 (#68504) Document Outline: Use block client ID as unique 'key' (#68502) Storybook: Add UnitControl story (#67346) Details: Add allowedBlocks and TemplateLock attributes (#68489) Post Comment Link: Show Border Control By Default (#68506) Query Total: Show Border Controls By Default (#68507) RSS: Added Colour support (#66419) Refactor: Separate input form styles to a dedicated stylesheet (#68501) Code quality: Fix typos (#67304) Page List: Added color support (#66430) Fix flaky DataViews list arraow nav e2e tests (#68503) ...
Gulamdastgir-Momin
pushed a commit
to Gulamdastgir-Momin/gutenberg
that referenced
this pull request
Jan 23, 2025
…ress#68501) Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org> Co-authored-by: prasadkarmalkar <prasadkarmalkar@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What, Why and How?
The following CSS rule is added inside
content.scsswhich targets theiFrameto apply the styles.gutenberg/packages/block-editor/src/components/media-placeholder/content.scss
Lines 1 to 7 in 72a9996
Therefore, the issue arises because this rule targets a class within the
components-popover__contentclass, which is outside the iframe, leading to the styles not getting applied.Hence, it's recommended to extract this rule into a dedicated
style.scssfor it to be applied outside theiframewhere thepopover componentis rendered.Testing Instructions
image/audio/videoblock insite editor.Insert from URLinput is now back to normal.Screenshots or screencast
Works as expected in the
post editorpage.Works well with the
image/videoblock.Closes: #68494