Skip to content

Navigation: Non-link blocks should be wrapped in a <li> #23915

@noisysocks

Description

@noisysocks

If you add a Search block into a Navigation block, the resultant markup is incorrect. The Search block should be rendered inside a <li>.

Screen Shot 2020-07-14 at 10 48 34

Steps to reproduce:

  1. Create a new post
  2. Insert a Navigation block
  3. Insert a Search block into the Navigation block
  4. Preview the post and inspect the markup

Expected result:

The <form> should be inside a <li>.

Actual result:

The <form> is inside the <ul>.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions