lexical 0.31.2-nightly.20250514.0 → 0.31.2-nightly.20250516.0
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.
- package/Lexical.dev.js +4 -2
- package/Lexical.dev.mjs +4 -2
- package/Lexical.prod.js +1 -1
- package/Lexical.prod.mjs +1 -1
- package/package.json +1 -1
package/Lexical.dev.js
CHANGED
|
@@ -9506,7 +9506,9 @@ class ParagraphNode extends ElementNode {
|
|
|
9506
9506
|
element.append(document.createElement('br'));
|
|
9507
9507
|
}
|
|
9508
9508
|
const formatType = this.getFormatType();
|
|
9509
|
-
|
|
9509
|
+
if (formatType) {
|
|
9510
|
+
element.style.textAlign = formatType;
|
|
9511
|
+
}
|
|
9510
9512
|
}
|
|
9511
9513
|
return {
|
|
9512
9514
|
element
|
|
@@ -10454,7 +10456,7 @@ class LexicalEditor {
|
|
|
10454
10456
|
};
|
|
10455
10457
|
}
|
|
10456
10458
|
}
|
|
10457
|
-
LexicalEditor.version = "0.31.2-nightly.
|
|
10459
|
+
LexicalEditor.version = "0.31.2-nightly.20250516.0+dev.cjs";
|
|
10458
10460
|
|
|
10459
10461
|
let keyCounter = 1;
|
|
10460
10462
|
function resetRandomKey() {
|
package/Lexical.dev.mjs
CHANGED
|
@@ -9504,7 +9504,9 @@ class ParagraphNode extends ElementNode {
|
|
|
9504
9504
|
element.append(document.createElement('br'));
|
|
9505
9505
|
}
|
|
9506
9506
|
const formatType = this.getFormatType();
|
|
9507
|
-
|
|
9507
|
+
if (formatType) {
|
|
9508
|
+
element.style.textAlign = formatType;
|
|
9509
|
+
}
|
|
9508
9510
|
}
|
|
9509
9511
|
return {
|
|
9510
9512
|
element
|
|
@@ -10452,7 +10454,7 @@ class LexicalEditor {
|
|
|
10452
10454
|
};
|
|
10453
10455
|
}
|
|
10454
10456
|
}
|
|
10455
|
-
LexicalEditor.version = "0.31.2-nightly.
|
|
10457
|
+
LexicalEditor.version = "0.31.2-nightly.20250516.0+dev.esm";
|
|
10456
10458
|
|
|
10457
10459
|
let keyCounter = 1;
|
|
10458
10460
|
function resetRandomKey() {
|