@manuscripts/transform 2.1.1-LEAN-3336-21 → 2.1.1-LEAN-3336-22
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.
|
@@ -557,12 +557,9 @@ class Decoder {
|
|
|
557
557
|
},
|
|
558
558
|
[json_schema_1.ObjectTypes.Table]: (data) => {
|
|
559
559
|
const model = data;
|
|
560
|
-
|
|
561
|
-
comments.forEach((c) => this.comments.set(c.attrs.id, c));
|
|
562
|
-
return this.parseContents(model.contents, undefined, this.getComments(model), {
|
|
560
|
+
return this.parseContents(model.contents, undefined, [], {
|
|
563
561
|
topNode: schema_1.schema.nodes.table.create({
|
|
564
562
|
id: model._id,
|
|
565
|
-
comments: comments.map((c) => c.attrs.id),
|
|
566
563
|
}),
|
|
567
564
|
});
|
|
568
565
|
},
|
|
@@ -548,12 +548,9 @@ export class Decoder {
|
|
|
548
548
|
},
|
|
549
549
|
[ObjectTypes.Table]: (data) => {
|
|
550
550
|
const model = data;
|
|
551
|
-
|
|
552
|
-
comments.forEach((c) => this.comments.set(c.attrs.id, c));
|
|
553
|
-
return this.parseContents(model.contents, undefined, this.getComments(model), {
|
|
551
|
+
return this.parseContents(model.contents, undefined, [], {
|
|
554
552
|
topNode: schema.nodes.table.create({
|
|
555
553
|
id: model._id,
|
|
556
|
-
comments: comments.map((c) => c.attrs.id),
|
|
557
554
|
}),
|
|
558
555
|
});
|
|
559
556
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/transform",
|
|
3
3
|
"description": "ProseMirror transformer for Manuscripts applications",
|
|
4
|
-
"version": "2.1.1-LEAN-3336-
|
|
4
|
+
"version": "2.1.1-LEAN-3336-22",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|