How to use the tiptap-utils.nodeEqualsType function in tiptap-utils

To help you get started, we’ve selected a few tiptap-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scrumpy / tiptap / packages / tiptap-extensions / src / extensions / TrailingNode.js View on Github external
init: (_, state) => {
            const lastNode = state.tr.doc.lastChild
            return !nodeEqualsType({ node: lastNode, types: disabledNodes })
          },
          apply: (tr, value) => {

tiptap-utils

Utility functions for tiptap

MIT
Latest version published 3 years ago

Package Health Score

71 / 100
Full package analysis

Similar packages