How to use the tiptap-utils.markIsActive 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 / src / Editor.js View on Github external
        [name]: (attrs = {}) => markIsActive(this.state, mark, attrs),
      }), {})
github scrumpy / tiptap / packages / _legacy-tiptap / src / utils / buildMenuActions.js View on Github external
			const active = () => markIsActive(state, schema.marks[name])
			const attrs = getMarkAttrs(state, schema.marks[name])


Utility functions for tiptap

Latest version published 3 years ago

Package Health Score

71 / 100
Full package analysis