@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.
- package/editor.js +4 -5
- package/editor.ts +4 -5
- 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
|
-
|
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
|
-
|
103
|
-
tag,
|
104
|
-
strong,
|
105
|
-
},
|
101
|
+
marks: orderedMap
|
102
|
+
.from(schema.spec.marks)
|
103
|
+
.addToEnd('tag', tag)
|
104
|
+
.addToEnd('strong', strong),
|
106
105
|
});
|