Skip to content

Commit

Permalink
Add maxLength to LinkControl search items (#52523)
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor authored Jul 12, 2023
1 parent 388d3d4 commit 7e505dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const LinkControlSearchItem = ( {
} ) => {
const info = isURL
? __( 'Press ENTER to add this link' )
: filterURLForDisplay( safeDecodeURI( suggestion?.url ) );
: filterURLForDisplay( safeDecodeURI( suggestion?.url ), 24 );

return (
<MenuItem
Expand Down

1 comment on commit 7e505dc

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in 7e505dc.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5533527366
📝 Reported issues:

Please sign in to comment.