fix: 尝试修复 prosemirror 多余换行的问题(#134)

This commit is contained in:
pipipi-pikachu 2022-07-11 21:15:54 +08:00
parent 8b4a151ca1
commit 65786c2a92

View File

@ -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,