This commit is contained in:
Philipp Kühn
2020-11-17 22:45:56 +01:00
parent 786c86f4b8
commit 91377be21e
6 changed files with 22 additions and 22 deletions

View File

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