rename updateMark and setNodeAttributes, fix #38
This commit is contained in:
@@ -39,7 +39,7 @@ const TextAlign = createExtension({
|
||||
return false
|
||||
}
|
||||
|
||||
return commands.setNodeAttributes({ textAlign: alignment })
|
||||
return commands.updateNodeAttributes({ textAlign: alignment })
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user