File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/block-library/src/navigation-link Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ function UnforwardedLinkUI( props, ref ) {
160160
161161 // Check if we're in contentOnly mode
162162 const blockEditingMode = useBlockEditingMode ( ) ;
163- const isContentOnlyMode = blockEditingMode === 'contentOnly ' ;
163+ const isDefaultBlockEditingMode = blockEditingMode === 'default ' ;
164164
165165 async function handleCreate ( pageTitle ) {
166166 const page = await saveEntityRecord ( 'postType' , postType , {
@@ -267,7 +267,7 @@ function UnforwardedLinkUI( props, ref ) {
267267 onCancel = { props . onCancel }
268268 renderControlBottom = { ( ) =>
269269 ! link ?. url ?. length &&
270- ! isContentOnlyMode && (
270+ isDefaultBlockEditingMode && (
271271 < LinkUITools
272272 focusAddBlockButton = { focusAddBlockButton }
273273 setAddingBlock = { ( ) => {
You can’t perform that action at this time.
0 commit comments