mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 尝试修复 prosemirror 多余换行的问题(#134)
This commit is contained in:
parent
8b4a151ca1
commit
65786c2a92
@ -58,8 +58,11 @@ const paragraph: NodeSpec = {
|
||||
},
|
||||
}
|
||||
|
||||
// https://github.com/pipipi-pikachu/PPTist/issues/134
|
||||
const { hard_break, ...otherNodes } = nodes
|
||||
|
||||
export default {
|
||||
...nodes,
|
||||
...otherNodes,
|
||||
'ordered_list': _orderedList,
|
||||
'bullet_list': _bulletList,
|
||||
'list_item': _listItem,
|
||||
|
Loading…
x
Reference in New Issue
Block a user