-
Notifications
You must be signed in to change notification settings - Fork 806
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdonw block: fixes issue pasting Markdown
There was a bug when pasting Markdown code containing any type of list in the live preview. The Markdown parser, Markdown-It, removes empty space at the beginning of new lines, making impossible to paste lists and nested lists. Also, changes the whitespace CSS property for paragraphs inside the Live Preview component, to `pre-wrap` so white space and new lines are not collapsed.
- Loading branch information
Showing
2 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters