facebook/lexical

Feature: support empty line in markdown

Open

#4.838 aberto em 28 de jul. de 2023

Ver no 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?

Guia do colaborador