@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
package/dist/collab.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -3431,8 +3431,10 @@ var init_write = __esm({
|
|
|
3431
3431
|
}
|
|
3432
3432
|
if (want.note) {
|
|
3433
3433
|
const u = i >= 0 ? A[i] : null;
|
|
3434
|
-
if (u?.note && u.note.id === want.note.id
|
|
3435
|
-
|
|
3434
|
+
if (u?.note && (u.note.id === want.note.id || !want.note.id)) {
|
|
3435
|
+
want.note.id = u.note.id;
|
|
3436
|
+
out.push({ ch: u.ch, raw: u.raw, run: u.run, ctx: u.ctx, u, fmt: u.fmt });
|
|
3437
|
+
} else {
|
|
3436
3438
|
want.note.id = typeof want.note.id === "string" && want.note.id ? want.note.id : String(this.noteId());
|
|
3437
3439
|
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 });
|
|
3438
3440
|
}
|
|
@@ -4654,7 +4656,7 @@ var init_extensions = __esm({
|
|
|
4654
4656
|
var version;
|
|
4655
4657
|
var init_package = __esm({
|
|
4656
4658
|
"package.json"() {
|
|
4657
|
-
version = "0.15.
|
|
4659
|
+
version = "0.15.1";
|
|
4658
4660
|
}
|
|
4659
4661
|
});
|
|
4660
4662
|
|