Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Bug Fixes

- `ExternalLink`: Add `wp-exclude-emoji` class to prevent Twemoji from replacing the arrow icon ([#75538](https://github.com/WordPress/gutenberg/pull/75538)).
- `TimePicker`: Fix date parsing for years below 1000 by implementing ISO 8601 compliant year formatting with zero-padding ([#75343](https://github.com/WordPress/gutenberg/pull/75343)).
- `Text`: Remove `text-wrap: balance` fallback. Only `text-wrap: pretty` is now used ([#75089](https://github.com/WordPress/gutenberg/pull/75089)).
- `RangeControl`: support forced-colors mode ([#75165](https://github.com/WordPress/gutenberg/pull/75165)).
Expand Down
6 changes: 5 additions & 1 deletion packages/components/src/external-link/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ function UnforwardedExternalLink(
{ children }
</span>
<span
className="components-external-link__icon"
className={ clsx(
'components-external-link__icon',
// This class prevents the arrow from being replaced by a Twemoji image.
'wp-exclude-emoji'
) }
aria-label={
/* translators: accessibility text */
__( '(opens in a new tab)' )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports[`PostPublishPanel should render the post-publish panel if the post is pu
</span>
<span
aria-label="(opens in a new tab)"
class="components-external-link__icon"
class="components-external-link__icon wp-exclude-emoji"
>
↗
</span>
Expand Down Expand Up @@ -326,7 +326,7 @@ exports[`PostPublishPanel should render the post-publish panel if the post is sc
</span>
<span
aria-label="(opens in a new tab)"
class="components-external-link__icon"
class="components-external-link__icon wp-exclude-emoji"
>
↗
</span>
Expand Down
Loading