Commit 98ee4cc
committed
fix(BulletList): remove
This fixes a regression with prosemirror-model 1.25.4 which changed DOM
parsing so that newlines in whitespace-preserved text nodes are
converted into a hard break instead of being collapsed to spaces.
The `preserveWhitespace: true` setting never really had an effect: The
newline in `* first\n second` already was converted to a space in
a full Markdown - editor - Markdown round-trip before the regression.
Also add several regression tests.
Fixes: #8775
Signed-off-by: Jonas <jonas@freesources.org>preserveWhitespace: true parseHTML override1 parent b03fcb2 commit 98ee4cc
2 files changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 15 | | |
22 | 16 | | |
23 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
55 | 75 | | |
56 | 76 | | |
57 | 77 | | |
| |||
0 commit comments