fix some bugs
This commit is contained in:
@@ -22,7 +22,7 @@ const TextAlign = createExtension({
|
||||
style: `text-align: ${attributes.textAlign}`,
|
||||
}),
|
||||
parseHTML: node => ({
|
||||
textAlign: node.style.textAlign,
|
||||
textAlign: node.style.textAlign || 'left',
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user