We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf4cf1 commit fc298fcCopy full SHA for fc298fc
packages/block-library/src/navigation-link/edit.js
@@ -156,6 +156,7 @@ function NavigationLinkEdit( {
156
>
157
<div className="wp-block-navigation-link__content">
158
<RichText
159
+ tagName="span"
160
value={ label }
161
onChange={ ( labelValue ) => setAttributes( { label: labelValue } ) }
162
placeholder={ itemLabelPlaceholder }
@@ -168,9 +169,9 @@ function NavigationLinkEdit( {
168
169
] }
170
/>
171
{ showSubmenuIcon &&
- <div className="wp-block-navigation-link__submenu-icon">
172
+ <span className="wp-block-navigation-link__submenu-icon">
173
{ itemSubmenuIcon }
- </div>
174
+ </span>
175
}
176
{ isLinkOpen && (
177
<Popover position="bottom center">
0 commit comments