Skip to content

Error encountered when inserting multiple columns into multiple columns #1380

Closed

Description

@freesuton

Describe the bug
When inserting a multi-column in a multi-column, it shows

Image

To Reproduce
[<clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>
](https://www.blocknotejs.org/examples/basic/multi-column)

Try in the multi-column page.

Activity

  1. matthewlipski commented on Feb 17, 2025

    @matthewlipski
    Collaborator

    I think we probably want to change this to only allow columnLists at the top level, so not nested within other blocks or columns (and have the slash menu reflect that). Right now it's also still possible to create them as children of blocks.

  2. added
    bug:P3
    on Feb 9, 2026
  3. removed
    bug:P3
    on Feb 23, 2026
  4. added
    bug:P3
    on Feb 25, 2026
  5. YousefED commented on Jul 6, 2026

    @YousefED
    Collaborator

    I was not able to reproduce this. @matthewlipski @freesuton let me know if you can

  6. matthewlipski commented on Jul 6, 2026

    @matthewlipski
    Collaborator

    Opening the slash menu at the end of "So is this heading!" in the example and selecting the "Two columns" option throws an error for me. It is a different error, but still related to inserting multiple columns into multiple columns.

  7. matthewlipski commented on Jul 6, 2026

    @matthewlipski
    Collaborator
    Image Error in question
  8. YousefED commented on Jul 7, 2026

    @YousefED
    Collaborator

    It's because according to the prosemirror schema, nested columns are not allowed. However, the slash menu command does not account for this.

    My proposed fix would be to insert the new columnlist below the existing ones, whenever the slash menu command is triggered from within a column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions