Skip to content

Commit

Permalink
Avoid using inline RichText element for navigation link (#21856)
Browse files Browse the repository at this point in the history
* Avoid using inline element for navigation link

* Update package-lock.json?!
  • Loading branch information
talldan committed Apr 24, 2020
1 parent c5db5e9 commit 2739fa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/block-library/src/navigation-link/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ function NavigationLinkEdit( {
<div className="wp-block-navigation-link__content">
<RichText
ref={ ref }
tagName="span"
className="wp-block-navigation-link__label"
value={ label }
onChange={ ( labelValue ) =>
Expand Down

0 comments on commit 2739fa9

Please sign in to comment.