@harbour-enterprises/superdoc 1.0.0-alpha.6 → 1.0.0-alpha.7
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/style.css +5 -5
- package/dist/superdoc.cjs.js +13 -1
- package/dist/superdoc.cjs.js.map +1 -1
- package/dist/superdoc.es.js +13 -1
- package/dist/superdoc.es.js.map +1 -1
- package/package.json +1 -1
package/dist/superdoc.es.js
CHANGED
|
@@ -37377,6 +37377,18 @@ const _sfc_main$b = {
|
|
|
37377
37377
|
selection,
|
|
37378
37378
|
isFocused: true
|
|
37379
37379
|
};
|
|
37380
|
+
const bounds = selection.selectionBounds;
|
|
37381
|
+
if (bounds.top > bounds.bottom) {
|
|
37382
|
+
const temp = bounds.top;
|
|
37383
|
+
bounds.top = bounds.bottom;
|
|
37384
|
+
bounds.bottom = temp;
|
|
37385
|
+
}
|
|
37386
|
+
if (bounds.left > bounds.right) {
|
|
37387
|
+
const temp = bounds.left;
|
|
37388
|
+
bounds.left = bounds.right;
|
|
37389
|
+
bounds.right = temp;
|
|
37390
|
+
}
|
|
37391
|
+
selection.selectionBounds = bounds;
|
|
37380
37392
|
const matchedDocument = documents.value.find((c2) => c2.id === selection.documentId);
|
|
37381
37393
|
const newConvo = useConversation(params);
|
|
37382
37394
|
activeComment.value = newConvo.conversationId;
|
|
@@ -37423,7 +37435,7 @@ const _sfc_main$b = {
|
|
|
37423
37435
|
};
|
|
37424
37436
|
}
|
|
37425
37437
|
};
|
|
37426
|
-
const CommentsLayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
37438
|
+
const CommentsLayer = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ddeee1a6"]]);
|
|
37427
37439
|
function OrderedMap(content) {
|
|
37428
37440
|
this.content = content;
|
|
37429
37441
|
}
|