@w100n/documents 0.15.0 → 0.15.1
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/{SheetView-72KXS4DM.js → SheetView-RPQS43XY.js} +4 -4
- package/dist/{TextEditor-NSICFE6U.js → TextEditor-D6QH2B7O.js} +4 -4
- package/dist/{chunk-Z7UNJ4ND.js → chunk-BGH36LAR.js} +3 -3
- package/dist/{chunk-Z7UNJ4ND.js.map → chunk-BGH36LAR.js.map} +1 -1
- package/dist/{chunk-M4OQG3EN.js → chunk-CAPICJ6B.js} +5 -3
- package/dist/chunk-CAPICJ6B.js.map +1 -0
- package/dist/{chunk-OXC4PUOC.js → chunk-XR42B3F5.js} +2 -2
- package/dist/collab.cjs +5 -3
- package/dist/collab.cjs.map +1 -1
- package/dist/collab.js +2 -2
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-M4OQG3EN.js.map +0 -1
- /package/dist/{SheetView-72KXS4DM.js.map → SheetView-RPQS43XY.js.map} +0 -0
- /package/dist/{TextEditor-NSICFE6U.js.map → TextEditor-D6QH2B7O.js.map} +0 -0
- /package/dist/{chunk-OXC4PUOC.js.map → chunk-XR42B3F5.js.map} +0 -0
|
@@ -2208,8 +2208,10 @@ var Writer = class {
|
|
|
2208
2208
|
}
|
|
2209
2209
|
if (want.note) {
|
|
2210
2210
|
const u = i >= 0 ? A[i] : null;
|
|
2211
|
-
if (u?.note && u.note.id === want.note.id
|
|
2212
|
-
|
|
2211
|
+
if (u?.note && (u.note.id === want.note.id || !want.note.id)) {
|
|
2212
|
+
want.note.id = u.note.id;
|
|
2213
|
+
out.push({ ch: u.ch, raw: u.raw, run: u.run, ctx: u.ctx, u, fmt: u.fmt });
|
|
2214
|
+
} else {
|
|
2213
2215
|
want.note.id = typeof want.note.id === "string" && want.note.id ? want.note.id : String(this.noteId());
|
|
2214
2216
|
out.push({ ch: want.ch, raw: `<w:footnoteReference w:id="${want.note.id}"/>`, run: { open: "<w:r>", rPr: '<w:rPr><w:vertAlign w:val="superscript"/></w:rPr>', fmt: plain, el: null, parent: null }, ctx: [], u: null, fmt: plain });
|
|
2215
2217
|
}
|
|
@@ -3642,4 +3644,4 @@ export {
|
|
|
3642
3644
|
writeDocx,
|
|
3643
3645
|
texts
|
|
3644
3646
|
};
|
|
3645
|
-
//# sourceMappingURL=chunk-
|
|
3647
|
+
//# sourceMappingURL=chunk-CAPICJ6B.js.map
|