@manuscripts/transform 2.1.8-LEAN-3423-3 → 2.1.8-LEAN-3423-5

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.
@@ -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
  });
@@ -329,6 +329,7 @@ const encoders = {
329
329
  bullet_list: (node) => ({
330
330
  elementType: 'ul',
331
331
  contents: listContents(node),
332
+ listStyleType: node.attrs.listStyleType,
332
333
  paragraphStyle: node.attrs.paragraphStyle || undefined,
333
334
  }),
334
335
  listing: (node) => ({
@@ -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
  });
@@ -321,6 +321,7 @@ const encoders = {
321
321
  bullet_list: (node) => ({
322
322
  elementType: 'ul',
323
323
  contents: listContents(node),
324
+ listStyleType: node.attrs.listStyleType,
324
325
  paragraphStyle: node.attrs.paragraphStyle || undefined,
325
326
  }),
326
327
  listing: (node) => ({
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-3",
4
+ "version": "2.1.8-LEAN-3423-5",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",