facebook/lexical

Feature: support empty line in markdown

Open

#4 838 ouverte le 28 juil. 2023

Voir sur GitHub
 (4 commentaires) (2 réactions) (0 assignés)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?

Guide contributeur