unsetAllMarks will remove all marks from the current selection.
unsetAllMarks
editor.commands.unsetAllMarks()