mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
676ce7d9f1
- Make flow of logic more compact. It reduces 12 code lines. - Use filter for simple element removal. Unless there are lots of elements, breaking a loop doesn't actually have practical benefit. - More flexible. It would be easier to edit even if argument is changed to option pack (json). |
||
---|---|---|
.. | ||
tiptap | ||
tiptap-commands | ||
tiptap-extensions | ||
tiptap-utils |