Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions demos/perf-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"react-dom": ">=18.3.1"
},
"dependencies": {
"@lexical/headless": "^0.38.2",
"@lexical/html": "^0.38.2",
"@lexical/react": "^0.38.2",
"@lexical/selection": "^0.38.2",
"@lexical/utils": "^0.38.2",
"@lexical/headless": "^0.40.0",
"@lexical/html": "^0.40.0",
"@lexical/react": "^0.40.0",
"@lexical/selection": "^0.40.0",
"@lexical/utils": "^0.40.0",
"base-64": "^1.0.0",
"epitelete-html": "^0.2.21-beta.2",
"json-difference": "^1.16.1",
"lexical": "^0.38.2",
"lexical": "^0.40.0",
"open-patcher": "1.0.0-beta.1",
"proskomma-core": "^0.11.0",
"pure-uuid": "^1.8.1"
Expand Down
4 changes: 2 additions & 2 deletions demos/perf-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dev": "vite"
},
"dependencies": {
"@lexical/rich-text": "^0.38.2",
"lexical": "^0.38.2"
"@lexical/rich-text": "^0.40.0",
"lexical": "^0.40.0"
},
"devDependencies": {
"shared": "workspace:~",
Expand Down
6 changes: 3 additions & 3 deletions libs/shared-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"dependencies": {
"@eten-tech-foundation/scripture-utilities": "workspace:~",
"@floating-ui/dom": "^1.7.4",
"@lexical/react": "^0.38.2",
"@lexical/utils": "^0.38.2",
"@lexical/react": "^0.40.0",
"@lexical/utils": "^0.40.0",
"fast-equals": "^5.2.2",
"lexical": "^0.38.2",
"lexical": "^0.40.0",
"quill-delta": "^5.1.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4527,11 +4527,6 @@ function cleanupSerializedEditorState(
if (direction !== undefined && "direction" in node && node.direction !== direction)
node.direction = direction;

if (node.type === "char") {
node.textFormat = 0;
node.textStyle = "";
}

if (
(node.marker === "c" || node.marker === "v") &&
"showMarker" in node &&
Expand Down
6 changes: 3 additions & 3 deletions libs/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
},
"dependencies": {
"@eten-tech-foundation/scripture-utilities": "workspace:~",
"@lexical/mark": "^0.38.2",
"@lexical/utils": "^0.38.2",
"@lexical/mark": "^0.40.0",
"@lexical/utils": "^0.40.0",
"@sillsdev/scripture": "^2.0.2",
"lexical": "^0.38.2",
"lexical": "^0.40.0",
"tslib": "^2.8.1"
},
"devDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions libs/shared/src/nodes/usj/CharNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,8 @@ export class CharNode extends ElementNode {

// Mutation

override insertNewAfter(rangeSelection: RangeSelection, restoreSelection: boolean): CharNode {
override insertNewAfter(_selection: RangeSelection, restoreSelection: boolean): CharNode {
const newElement = $createCharNode(this.getMarker());
newElement.setTextFormat(rangeSelection.format);
newElement.setTextStyle(rangeSelection.style);
newElement.setDirection(this.getDirection());
newElement.setFormat(this.getFormatType());
newElement.setStyle(this.getTextStyle());
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@babel/core": "^7.28.4",
"@babel/preset-react": "^7.27.1",
"@eslint/js": "^9.35.0",
"@lexical/eslint-plugin": "^0.38.2",
"@lexical/eslint-plugin": "^0.40.0",
"@microsoft/api-extractor": "^7.52.13",
"@nx/eslint": "21.5.2",
"@nx/eslint-plugin": "21.5.2",
Expand Down Expand Up @@ -66,6 +66,6 @@
},
"volta": {
"node": "22.20.0",
"pnpm": "10.18.1"
"pnpm": "10.28.2"
}
}
12 changes: 6 additions & 6 deletions packages/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
"dependencies": {
"@eten-tech-foundation/scripture-utilities": "workspace:~",
"@floating-ui/dom": "^1.7.4",
"@lexical/react": "^0.38.2",
"@lexical/selection": "^0.38.2",
"@lexical/text": "^0.38.2",
"@lexical/utils": "^0.38.2",
"@lexical/yjs": "^0.38.2",
"@lexical/react": "^0.40.0",
"@lexical/selection": "^0.40.0",
"@lexical/text": "^0.40.0",
"@lexical/utils": "^0.40.0",
"@lexical/yjs": "^0.40.0",
"@sillsdev/scripture": "^2.0.2",
"fast-equals": "^5.2.2",
"lexical": "^0.38.2",
"lexical": "^0.40.0",
"quill-delta": "^5.1.0"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/platform/src/editor/adaptors/usj-editor.adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ function createChar(
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: CHAR_VERSION,
});
}
Expand Down
10 changes: 5 additions & 5 deletions packages/scribe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"dependencies": {
"@eten-tech-foundation/scripture-utilities": "workspace:~",
"@floating-ui/dom": "^1.7.4",
"@lexical/mark": "^0.38.2",
"@lexical/react": "^0.38.2",
"@lexical/selection": "^0.38.2",
"@lexical/utils": "^0.38.2",
"@lexical/mark": "^0.40.0",
"@lexical/react": "^0.40.0",
"@lexical/selection": "^0.40.0",
"@lexical/utils": "^0.40.0",
"fast-equals": "^5.2.2",
"lexical": "^0.38.2"
"lexical": "^0.40.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,6 @@ function createChar(
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: CHAR_VERSION,
});
}
Expand Down
2 changes: 0 additions & 2 deletions packages/scribe/src/editor/adaptors/usj-editor.adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ function createChar(
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: CHAR_VERSION,
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@xmldom/xmldom": "^0.9.8"
},
"devDependencies": {
"lexical": "^0.38.2"
"lexical": "^0.40.0"
},
"publishConfig": {
"access": "public",
Expand Down
32 changes: 0 additions & 32 deletions packages/utilities/src/converters/usj/converter-test.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -243,8 +241,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -322,8 +318,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -352,8 +346,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -382,8 +374,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -437,8 +427,6 @@ export const editorStateGen1v1 = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -648,8 +636,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -700,8 +686,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -857,8 +841,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -889,8 +871,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -921,8 +901,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -989,8 +967,6 @@ export const editorStateGen1v1Editable = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -1260,8 +1236,6 @@ export const editorStateGen1v1ImpliedPara = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -1916,8 +1890,6 @@ export const editorStateWithUnknownItems = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -2369,8 +2341,6 @@ export const editorStateGen1v1Nonstandard = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down Expand Up @@ -2398,8 +2368,6 @@ export const editorStateGen1v1Nonstandard = {
direction: null,
format: "",
indent: 0,
textFormat: 0,
textStyle: "",
version: 1,
children: [
{
Expand Down
Loading
Loading