diff --git a/src/utils/prosemirror/schema/nodes.ts b/src/utils/prosemirror/schema/nodes.ts index c4b1c447..ae90bda7 100644 --- a/src/utils/prosemirror/schema/nodes.ts +++ b/src/utils/prosemirror/schema/nodes.ts @@ -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,