facebook/lexical

Feature: support empty line in markdown

Open

#4838 opened on Jul 28, 2023

View on GitHub
 (4 comments) (2 reactions) (0 assignees)JavaScript (16,523 stars) (1,349 forks)batch import
contribution-weekenhancementgood first issuemarkdown

Description

In https://playground.lexical.dev/ if you enter multiple line breaks and toggle markdown twice. The empty lines will be eaten.

I checked the code https://github.com/facebook/lexical/blob/main/packages/lexical-markdown/src/MarkdownImport.ts#L80-L81 and I guess it's not implemented?

Contributor guide