fix: remove some magic strings
This commit is contained in:
@@ -59,7 +59,7 @@ export const TextStyle = Mark.create<TextStyleOptions>({
|
||||
return true
|
||||
}
|
||||
|
||||
return commands.unsetMark('textStyle')
|
||||
return commands.unsetMark(this.name)
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user