rename removeMarks to unsetMarks
This commit is contained in:
@@ -9,7 +9,7 @@ const MenuBar = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<button onClick={() => editor.chain().focus().removeMarks().run()}>
|
||||
<button onClick={() => editor.chain().focus().unsetMarks().run()}>
|
||||
Clear formatting
|
||||
</button>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user