Skip to content

Commit

Permalink
Navigation: Enable all non-interactive formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 4, 2024
1 parent 532b8e2 commit 1429737
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions packages/block-library/src/navigation-link/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,6 @@ export default function NavigationLinkEdit( {
) }
placeholder={ itemLabelPlaceholder }
withoutInteractiveFormatting
allowedFormats={ [
'core/bold',
'core/italic',
'core/image',
'core/strikethrough',
] }
/>
{ description && (
<span className="wp-block-navigation-item__description">
Expand Down
6 changes: 0 additions & 6 deletions packages/block-library/src/navigation-submenu/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,6 @@ export default function NavigationSubmenuEdit( {
aria-label={ __( 'Navigation link text' ) }
placeholder={ itemLabelPlaceholder }
withoutInteractiveFormatting
allowedFormats={ [
'core/bold',
'core/italic',
'core/image',
'core/strikethrough',
] }
onClick={ () => {
if ( ! openSubmenusOnClick && ! url ) {
setIsLinkOpen( true );
Expand Down

0 comments on commit 1429737

Please sign in to comment.