Skip to content
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

Post Content link color should not be applied to placeholder component links #52367

Conversation

ghorivipul97
Copy link
Contributor

@ghorivipul97 ghorivipul97 commented Jul 6, 2023

Fixes #52258

Post Content link color

Why?

Links within the UI should remain styled by the UI. The expectation here is that links have the --wp-admin-theme-color applied to them.

How?

#52258

Testing Instructions

  1. Add an Embed block.
  2. See the link color of the theme (TwentyTwentyThree in my screenshot) applied to the links within the component.

Screenshots or screencast

image

 Post Content link color
@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Jul 6, 2023
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @ghorivipul97! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@priethor priethor changed the title #52258 Post Content link color should not be applied to placeholder component links Jul 6, 2023
@priethor priethor added [Type] Bug An existing feature does not function as intended [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) labels Jul 6, 2023
@ndiego
Copy link
Member

ndiego commented Jul 14, 2023

@ghorivipul97 I believe @jorgefilipecosta is indicating that a more generic fix in the styling for Placeholder components would probably be the best approach: https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/placeholder/style.scss

@ghorivipul97
Copy link
Contributor Author

@ghorivipul97 I believe @jorgefilipecosta is indicating that a more generic fix in the styling for Placeholder components would probably be the best approach: https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/placeholder/style.scss

@ndiego yes, that fixed and push code, someone have to review PR.

Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you for this fix and iteration!

Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you for this fix and iteration!

Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you for this fix and iteration!

@jorgefilipecosta jorgefilipecosta merged commit 90c64a8 into WordPress:trunk Jul 17, 2023
47 of 48 checks passed
@github-actions
Copy link

Congratulations on your first merged pull request, @ghorivipul97! We'd like to credit you for your contribution in the post announcing the next WordPress release, but we can't find a WordPress.org profile associated with your GitHub account. When you have a moment, visit the following URL and click "link your GitHub account" under "GitHub Username" to link your accounts:

https://profiles.wordpress.org/me/profile/edit/

And if you don't have a WordPress.org account, you can create one on this page:

https://login.wordpress.org/register

Kudos!

@github-actions github-actions bot added this to the Gutenberg 16.3 milestone Jul 17, 2023
westonruter added a commit that referenced this pull request Jul 18, 2023
* trunk: (36 commits)
  Use `_get_block_template_file` function and set $area variable. (#52708)
  Change Delete page menu item to Move to trash. (#52641)
  Search block: Enqueue view script through block.json (#52552)
  Patterns: fix bug with Create Patterns menu not showing in site editor page editing (#52671)
  Github workflow: add a PHP backport changes action (#52096)
  Add layout API documentation. (#52673)
  Show uncategorized patterns on the Editor > Patterns page (#52633)
  Patterns: Remove `reusable` text from menu once rename hint has been dismissed (#52664)
  Update locked pattern tooltips (#52497)
  Rich Text/Footnotes: fix getRichTextValues for useInnerBlocksProps.save (#52682)
  Use posts instead of template parts for navigation color tests (#52654)
  Site Editor: Don't allow creating template part on the Patterns page for non-block themes (#52656)
  Site Editor: Fix incorrect 'useSelect' usage (#52683)
  Update issue gardening automation with new label (#52173)
  i18n: Make the tab labels of `ColorGradientSettingsDropdown` component translatable (#52669)
  Post Content link color should not be applied to placeholder component links (#52367)
  [Mobile] Update toolbar icons and colors (#52336)
  Avoid copying global style presets via the styles compatibility hook (#52640)
  Show warning on removal of Post Template block in the site editor. (#52666)
  Backport tools: sort PRs to be cherry picked by merged/closed date (#52667)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post Content link color should not be applied to placeholder component links
4 participants