Skip to content
This page is for Tiptap 2.x.See the latest version of this page.

unsetAllMarks command

unsetAllMarks will remove all marks from the current selection.

Using the unsetAllMarks command

editor.commands.unsetAllMarks()