Skip to content

Commit

Permalink
Restore original markup and span element.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored Jan 28, 2025
1 parent b14a731 commit d2304ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/navigation-link/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ export default function NavigationLinkEdit( {
<a className={ classes }>
{ /* eslint-enable */ }
{ ! url ? (
<span className="wp-block-navigation-link__placeholder-text">
{ missingText }
</span>
<div className="wp-block-navigation-link__placeholder-text">
<span>{ missingText }</span>
</div>
) : (
<>
{ ! isInvalid &&
Expand Down

0 comments on commit d2304ac

Please sign in to comment.