rename removeMarks to unsetMarks

This commit is contained in:
Philipp Kühn
2020-11-18 17:43:59 +01:00
parent 2c5885c026
commit d075d5c425
8 changed files with 11 additions and 12 deletions

View File

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