Skip to content

Lists with markdown -> block has degenerate behaviour when run locally, but not in online playground #1645

Closed
3 of 3 issues completed
@botkevin

Description

@botkevin

Describe the bug
Lists in markdown are not being parsed correctly (See this blocknote example). On playground or the blocknotejs website, the parser seems to behave with intended behaviour, but when I pull and run locally (npm install, npm start in directory), the parse generates a degenerate block. Could someone on the team tell me what version of blocknote is running on the playground? Images of degenerate and proper output attached

degen local
Image

correct playground
Image

To Reproduce
I am using test str:

### Steps to Make Cheese

Making cheese involves a series of steps that transform milk into a solid, flavorful product. Here's a basic guide to making a simple cheese:

1. **Gather Ingredients and Equipment:**

   * Fresh milk (preferably whole milk)

   * Rennet (a coagulant)

   * Cheese culture (specific bacteria for cheese-making)

   * Salt

   * Cheesecloth

   * Large pot

   * Thermometer

   * Cheese mold

2. **Prepare the Milk:**

   * Pour the milk into a large pot and slowly heat it to the required temperature (usually around 86°F or 30°C). Stir gently to ensure even heating.

Try it when running locally with any blocknote version listed in Misc- this outputs a degenerate output. Then try it in the online playground. Both playground and blocknotejs.com output correctly.

Misc

  • Node version: v23.11.0
  • Blocknote version: tried 28.0,29.0,29.1
  • Package manager: tried both yarn and npm
  • Browser: firefox

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions