rename some commands

This commit is contained in:
Philipp Kühn
2020-11-18 16:59:58 +01:00
parent 91297d29fb
commit 1b45acd5d5
10 changed files with 35 additions and 35 deletions

View File

@@ -33,7 +33,7 @@ const Underline = Mark.create({
/**
* Set an underline mark
*/
addUnderline: (): Command => ({ commands }) => {
setUnderline: (): Command => ({ commands }) => {
return commands.addMark('underline')
},
/**
@@ -45,7 +45,7 @@ const Underline = Mark.create({
/**
* Unset an underline mark
*/
removeUnderline: (): Command => ({ commands }) => {
unsetUnderline: (): Command => ({ commands }) => {
return commands.addMark('underline')
},
}