Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing HR in command palette #457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 22, 2023

  1. Fix missing HR in command palette

    When the command palette is built without a prescribed list of
    commands, the horizontal rule is added to the list of entity types,
    if it is configured via enableHorizontalRule. If the command palette
    is built by passing a list of commands, though, enableHorizontalRule is
    ignored and the HR is not added to the list of entity types.
    
    This seems inadvertent and causes the HR to get dropped even if it has
    been configured. This seems to be the cause of
    wagtail/wagtail#9707, unless I am
    misunderstanding how this code is supposed to work.
    chosak committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    497aee3 View commit details
    Browse the repository at this point in the history