|
@@ -1489,7 +1489,7 @@ export class TextEditor {
|
|
|
if (props[item] === this.textStyle[item]) continue
|
|
|
|
|
|
if (item === 'alignType') {
|
|
|
- if (!this.selectedCharRange) {
|
|
|
+ if (!this.selectedCharRange && this.state === 2) {
|
|
|
await this.messageHandler.sendWithPromise('SetTextAligningSection', {
|
|
|
editAreaPtr: this.editAreaPtr,
|
|
|
alignType: props.alignType,
|