-
Notifications
You must be signed in to change notification settings - Fork 63
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
Ignore styles which no longer apply #804
Conversation
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@fredden - can you pull develop branch into your fork's branch and fix a failing static test? After that we should be good to merge this PR! |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
@magento create issue |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @fredden,
Thanks for the contribution!
The changes look good to me, hence approving the PR.
Thanks
Hi @fredden, Thanks for the collaboration & contribution!. We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.Kindly refer the attached video. Manual testing scenarios
Screen.Recording.2024-07-25.at.12.36.41.mp4After importing the product with the description we are able to save the product successfully. Could you please try to reproduce the issue in Latest 2.4-develop instance and could you please let us know if we are still missing anything. Thanks. |
Hi @fredden, Thank you for your contribution! As mentioned here #804 (comment), please have a look and let us know if we are missing anything. Till then closing this PR. Please feel free to reopen it as you want to update further. Thank you! |
Description
When PageBuilder initialises, it moves styles from a <style> tag into
data-{viewport}-styles
attributes. If there are CSS selectors that do not match any elements, an error is thrown:This pull request fixes this bug.
Manual testing scenarios
<span>Sample text</span><style>#not-found { color: red; }</style>
)Checklist
Resolved issues: