rename unsetMarks to unsetAllMarks

This commit is contained in:
Philipp Kühn
2020-11-21 00:05:27 +01:00
parent 8f6ae0e69e
commit 675912166c
8 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div>
<div v-if="editor">
<button @click="editor.chain().focus().unsetMarks().run()">
<button @click="editor.chain().focus().unsetAllMarks().run()">
clear formatting
</button>
<button @click="editor.chain().focus().undo().run()">