lexical 0.27.0 → 0.27.1-nightly.20250304.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 +5 -5
- package/Lexical.dev.mjs +5 -5
- package/Lexical.prod.js +1 -1
- package/Lexical.prod.mjs +1 -1
- package/package.json +1 -1
package/Lexical.dev.js
CHANGED
|
@@ -8897,6 +8897,10 @@ class ElementNode extends LexicalNode {
|
|
|
8897
8897
|
// (see https://github.com/facebook/lexical/pull/4025)
|
|
8898
8898
|
element.style.paddingInlineStart = `${indent * 40}px`;
|
|
8899
8899
|
}
|
|
8900
|
+
const direction = this.getDirection();
|
|
8901
|
+
if (direction) {
|
|
8902
|
+
element.dir = direction;
|
|
8903
|
+
}
|
|
8900
8904
|
}
|
|
8901
8905
|
return {
|
|
8902
8906
|
element
|
|
@@ -9288,10 +9292,6 @@ class ParagraphNode extends ElementNode {
|
|
|
9288
9292
|
}
|
|
9289
9293
|
const formatType = this.getFormatType();
|
|
9290
9294
|
element.style.textAlign = formatType;
|
|
9291
|
-
const direction = this.getDirection();
|
|
9292
|
-
if (direction) {
|
|
9293
|
-
element.dir = direction;
|
|
9294
|
-
}
|
|
9295
9295
|
}
|
|
9296
9296
|
return {
|
|
9297
9297
|
element
|
|
@@ -10221,7 +10221,7 @@ class LexicalEditor {
|
|
|
10221
10221
|
};
|
|
10222
10222
|
}
|
|
10223
10223
|
}
|
|
10224
|
-
LexicalEditor.version = "0.27.0+dev.cjs";
|
|
10224
|
+
LexicalEditor.version = "0.27.1-nightly.20250304.0+dev.cjs";
|
|
10225
10225
|
|
|
10226
10226
|
let keyCounter = 1;
|
|
10227
10227
|
function resetRandomKey() {
|
package/Lexical.dev.mjs
CHANGED
|
@@ -8895,6 +8895,10 @@ class ElementNode extends LexicalNode {
|
|
|
8895
8895
|
// (see https://github.com/facebook/lexical/pull/4025)
|
|
8896
8896
|
element.style.paddingInlineStart = `${indent * 40}px`;
|
|
8897
8897
|
}
|
|
8898
|
+
const direction = this.getDirection();
|
|
8899
|
+
if (direction) {
|
|
8900
|
+
element.dir = direction;
|
|
8901
|
+
}
|
|
8898
8902
|
}
|
|
8899
8903
|
return {
|
|
8900
8904
|
element
|
|
@@ -9286,10 +9290,6 @@ class ParagraphNode extends ElementNode {
|
|
|
9286
9290
|
}
|
|
9287
9291
|
const formatType = this.getFormatType();
|
|
9288
9292
|
element.style.textAlign = formatType;
|
|
9289
|
-
const direction = this.getDirection();
|
|
9290
|
-
if (direction) {
|
|
9291
|
-
element.dir = direction;
|
|
9292
|
-
}
|
|
9293
9293
|
}
|
|
9294
9294
|
return {
|
|
9295
9295
|
element
|
|
@@ -10219,7 +10219,7 @@ class LexicalEditor {
|
|
|
10219
10219
|
};
|
|
10220
10220
|
}
|
|
10221
10221
|
}
|
|
10222
|
-
LexicalEditor.version = "0.27.0+dev.esm";
|
|
10222
|
+
LexicalEditor.version = "0.27.1-nightly.20250304.0+dev.esm";
|
|
10223
10223
|
|
|
10224
10224
|
let keyCounter = 1;
|
|
10225
10225
|
function resetRandomKey() {
|