@shadow-garden/bapbong-model 0.8.0 → 0.9.0
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/dist/index.cjs +8 -1
- package/dist/index.js +8 -1
- package/dist/lib/model.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -145,7 +145,14 @@ var schema = new import_prosemirror_model.Schema({
|
|
|
145
145
|
page: { default: null },
|
|
146
146
|
// CommentNode[] (contracts) — comment threads keyed to `comment` marks.
|
|
147
147
|
// Edited via setDocAttribute so add/reply/resolve/delete undo cleanly.
|
|
148
|
-
comments: { default: null }
|
|
148
|
+
comments: { default: null },
|
|
149
|
+
// Per-section header/footer story OVERRIDES, keyed by section index →
|
|
150
|
+
// story ('headers'|'footers') → variant ('default'|'first'|'even') →
|
|
151
|
+
// the full story doc as JSON. The first chrome EDIT the model supports
|
|
152
|
+
// (the section marker's page-number toggle): an override replaces the
|
|
153
|
+
// section's inherited story (Word's "unlink from previous"), rides the
|
|
154
|
+
// doc so it undoes cleanly, and exports as a real header/footer part.
|
|
155
|
+
sectionChromeOverrides: { default: null }
|
|
149
156
|
}
|
|
150
157
|
},
|
|
151
158
|
paragraph: {
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,14 @@ var schema = new Schema({
|
|
|
113
113
|
page: { default: null },
|
|
114
114
|
// CommentNode[] (contracts) — comment threads keyed to `comment` marks.
|
|
115
115
|
// Edited via setDocAttribute so add/reply/resolve/delete undo cleanly.
|
|
116
|
-
comments: { default: null }
|
|
116
|
+
comments: { default: null },
|
|
117
|
+
// Per-section header/footer story OVERRIDES, keyed by section index →
|
|
118
|
+
// story ('headers'|'footers') → variant ('default'|'first'|'even') →
|
|
119
|
+
// the full story doc as JSON. The first chrome EDIT the model supports
|
|
120
|
+
// (the section marker's page-number toggle): an override replaces the
|
|
121
|
+
// section's inherited story (Word's "unlink from previous"), rides the
|
|
122
|
+
// doc so it undoes cleanly, and exports as a real header/footer part.
|
|
123
|
+
sectionChromeOverrides: { default: null }
|
|
117
124
|
}
|
|
118
125
|
},
|
|
119
126
|
paragraph: {
|
package/dist/lib/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAkF3C;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,+
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAkF3C;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,+UA0jBjB,CAAC;AAEH,wEAAwE;AACxE,MAAM,MAAM,aAAa,GAAG,OAAO,MAAM,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,aAAa,yDA0CxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAEjD,qDAAqD;AACrD,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE5D;+EAC+E;AAC/E,MAAM,WAAW,MAAM;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,2EAA2E;AAC3E,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,QAAQ,GAAG,IAA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