@manuscripts/transform 2.1.8-LEAN-3423-4 → 2.1.8-LEAN-3423-6

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.
@@ -338,6 +338,7 @@ const nodes = [
338
338
  const element = node;
339
339
  return {
340
340
  id: element.getAttribute('id'),
341
+ listStyleType: element.getAttribute('list-type'),
341
342
  };
342
343
  },
343
344
  },
@@ -399,6 +399,7 @@ class Decoder {
399
399
  return this.parseContents(model.contents || '<ul></ul>', undefined, this.getComments(model), {
400
400
  topNode: schema_1.schema.nodes.bullet_list.create({
401
401
  id: model._id,
402
+ listStyleType: model.listStyleType,
402
403
  paragraphStyle: model.paragraphStyle,
403
404
  }),
404
405
  });
@@ -332,6 +332,7 @@ const nodes = [
332
332
  const element = node;
333
333
  return {
334
334
  id: element.getAttribute('id'),
335
+ listStyleType: element.getAttribute('list-type'),
335
336
  };
336
337
  },
337
338
  },
@@ -390,6 +390,7 @@ export class Decoder {
390
390
  return this.parseContents(model.contents || '<ul></ul>', undefined, this.getComments(model), {
391
391
  topNode: schema.nodes.bullet_list.create({
392
392
  id: model._id,
393
+ listStyleType: model.listStyleType,
393
394
  paragraphStyle: model.paragraphStyle,
394
395
  }),
395
396
  });
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.8-LEAN-3423-4",
4
+ "version": "2.1.8-LEAN-3423-6",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",