@worktile/theia 2.2.9 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2554,7 +2554,7 @@
|
|
|
2554
2554
|
var textIndent = 'textIndent';
|
|
2555
2555
|
var align = 'align';
|
|
2556
2556
|
var hasTextIndent = block[textIndent];
|
|
2557
|
-
var
|
|
2557
|
+
var alignValue = block[align];
|
|
2558
2558
|
var hasIndent = block[exports.ElementKinds.indent];
|
|
2559
2559
|
if (slate.Node.string(block) === '' &&
|
|
2560
2560
|
slate.Element.isElement(block) &&
|
|
@@ -2564,7 +2564,7 @@
|
|
|
2564
2564
|
!slate.Editor.isVoid(editor, block) &&
|
|
2565
2565
|
!hasIndent &&
|
|
2566
2566
|
!hasTextIndent &&
|
|
2567
|
-
!
|
|
2567
|
+
(!alignValue || alignValue === exports.Alignment.left)) {
|
|
2568
2568
|
return true;
|
|
2569
2569
|
}
|
|
2570
2570
|
return false;
|