• WordPress 6.3.1

    Navigation Menus can be edited in 2 ways:

    • from the Site Editor entry page selecting “Navigation” from the left panel and choosing the appropriate menu
    • from the Site Editor entry page managing to navigate to the appropriate containing template part , selecting it and clicking the edit icon for this template part

    In the first case the Site Editor shows only the navigation block in the page structure panel and this has got a locked icon: editing navigation entries is not possible and no way appears to exist to unlock the navigation menu.

    In the second case the Site editor shows the template parts blocks in the page structure panel and the navigation block is where it has been placed during template development. It has no lock icon and the navigation menus entries are shown in the page structure panel on the left and, when selecting the navigation block, in the block settings on the right. Clicking a navigation menu entry on the right pops up the edit layer in this right block settings and immediately closes it again. Clicking the 3-dot icon for a navigation menu entry also opens and imediately closes again the context menu appearing for this menu entry. Clicking the visual editor space menu entry link also opens and closes the menu immediately.

    In summary we cannot edit a Gutenberg navigation menu in WordPress 6.3.1. This is the case for both the staging and prodcution version of the page. No errors are shown in the debugger console.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vialars

    (@vialars)

    Note:

    when wanting to insert a second navigation block and using the block search, upon clicking the navigation block to insert it, the tab freezes, possibly due to a JS endless loop.

    if however you scroll down to the navigation block to insert it and click it, a second navigation block gets inserted successfully.

    Once 2 navigation blocks are present on the page, both navigation menus entries can be edited and the second superfluous navigation block be deleted afterwards.

    Setup: a fresh WordPress 6.3.1 site from InstaWP, with the default Twenty Twenty-Three theme, no plugin active. You may create a test site to verify my experience below.

    In the first case the Site Editor shows only the navigation block in the page structure panel and this has got a locked icon: editing navigation entries is not possible and no way appears to exist to unlock the navigation menu.

    I’m unable to reproduce this.

    I don’t see any locked icon on the navigation menu, and I can edit the navigation items and even create new navigation.

    In the second case… Clicking a navigation menu entry on the right pops up the edit layer in this right block settings and immediately closes it again. Clicking the 3-dot icon for a navigation menu entry also opens and imediately closes again the context menu appearing for this menu entry. Clicking the visual editor space menu entry link also opens and closes the menu immediately.

    Again, I’m unable to reproduce this.

    I can edit the menu items inline (ie within the template part’s page itself)… and all the options you mentioned keep the right sidebar open for me to edit — it doesn’t automatically close at all.

    when wanting to insert a second navigation block and using the block search, upon clicking the navigation block to insert it, the tab freezes, possibly due to a JS endless loop.

    I couldn’t reproduce this either. The block got inserted immediately, with no freezing at all.

    It seems something is not quite right with your own installation, or something peculiar to your environment is triggering the behaviour. But I’ve no clue what may be causing these issues you’re experiencing.

    Thread Starter vialars

    (@vialars)

    Hello,

    I thank you for your investigation!

    I forgot to reply about this ?? .

    I couldn’t reproduce this on a new WordPress using the twentytwentythree theme’s navigation menu either.

    The WordPress where the issue occurs is pretty default however having a custom theme for a bit of styling without anything I would call fancy. The translation plugin WPML is the only exception to this.

    When opening the Debugger on a navigation entry in the side panel of Site Editor

    I can see an endless loop permanently updating the ids of the entries.

    This is likely responsible for the 3-dot-menu-entries menu immediately closing again.

    The JS loops between minified code I did not make much sense of in the files /wp-includes/js/dist/data.min.js, /wp-includes/js/dist/core-data.min.js and /wp-includes/js/dist/edit-site.min.js.

    The JS console shows no errors.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site Editor Navigation Menu entries not editable’ is closed to new replies.