@bigfootai/bigfoot-types 3.7.9 → 3.7.10

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.
Files changed (3) hide show
  1. package/editor.js +4 -5
  2. package/editor.ts +4 -5
  3. package/package.json +1 -1
package/editor.js CHANGED
@@ -86,9 +86,8 @@ exports.bigfootSchema = new prosemirror_model_1.Schema({
86
86
  .addToEnd('checklist', checklist)
87
87
  .addToEnd('checklistItem', checklistItem),
88
88
  //@ts-expect-error Not sure why this is throwing an error, but will revisit
89
- marks: {
90
- ...prosemirror_schema_basic_1.schema.spec.marks,
91
- tag,
92
- strong,
93
- },
89
+ marks: orderedMap
90
+ .from(prosemirror_schema_basic_1.schema.spec.marks)
91
+ .addToEnd('tag', tag)
92
+ .addToEnd('strong', strong),
94
93
  });
package/editor.ts CHANGED
@@ -98,9 +98,8 @@ export const bigfootSchema = new Schema({
98
98
  .addToEnd('checklist', checklist)
99
99
  .addToEnd('checklistItem', checklistItem),
100
100
  //@ts-expect-error Not sure why this is throwing an error, but will revisit
101
- marks: {
102
- ...schema.spec.marks,
103
- tag,
104
- strong,
105
- },
101
+ marks: orderedMap
102
+ .from(schema.spec.marks)
103
+ .addToEnd('tag', tag)
104
+ .addToEnd('strong', strong),
106
105
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "3.7.9",
4
+ "version": "3.7.10",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",