@harbour-enterprises/superdoc 0.21.0-next.6 → 0.21.0-next.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/chunks/{PdfViewer-CJAEtjUD.es.js → PdfViewer-B8R1j6LP.es.js} +1 -1
- package/dist/chunks/{PdfViewer-BrJSIJjF.cjs → PdfViewer-DWWRw_re.cjs} +1 -1
- package/dist/chunks/{index-NiOytIlp.cjs → index-Bpp8Ruyf.cjs} +2 -2
- package/dist/chunks/{index-BDfKQQiO.es.js → index-CLGEbkfW.es.js} +2 -2
- package/dist/chunks/{super-editor.es-iVTtEcot.es.js → super-editor.es-DWm41myg.es.js} +75 -909
- package/dist/chunks/{super-editor.es-DmkkMNKU.cjs → super-editor.es-aBw27Tag.cjs} +75 -909
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/style.css +11 -11
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CYC0HBJe.js → converter-DYAHhSrg.js} +65 -26
- package/dist/super-editor/chunks/{docx-zipper-DlwteneT.js → docx-zipper-BDbCmfbE.js} +1 -1
- package/dist/super-editor/chunks/{editor-BzT9rpXb.js → editor-VW8eKYoK.js} +15 -59
- package/dist/super-editor/chunks/{toolbar-BnTHDmlP.js → toolbar-B1up5fYV.js} +7 -6
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +2 -0
- package/dist/super-editor/src/core/commands/__tests__/testHelpers.d.ts +4 -0
- package/dist/super-editor/src/core/commands/__tests__/testSchema.d.ts +2 -0
- package/dist/super-editor/src/core/commands/tests/commandTestUtils.d.ts +7 -0
- package/dist/super-editor/src/core/commands/tests/test-schema.d.ts +2 -0
- package/dist/super-editor/style.css +11 -11
- package/dist/super-editor/super-editor.es.js +85 -876
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +75 -909
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/src/extensions/noderesizer/helpers.d.ts +0 -2
- package/dist/super-editor/src/extensions/run-item/index.d.ts +0 -1
- package/dist/super-editor/src/extensions/run-item/run-item.d.ts +0 -26
- package/dist/super-editor/src/utils/shadow-root.d.ts +0 -12
|
@@ -47929,11 +47929,9 @@ const toggleHeaderFooterEditMode = ({ editor, focusedSectionEditor, isEditMode,
|
|
|
47929
47929
|
item.editor.view.dom.setAttribute("documentmode", documentMode);
|
|
47930
47930
|
});
|
|
47931
47931
|
if (isEditMode) {
|
|
47932
|
-
const pm =
|
|
47933
|
-
|
|
47934
|
-
|
|
47935
|
-
pm.setAttribute("aria-readonly", true);
|
|
47936
|
-
}
|
|
47932
|
+
const pm = document.querySelector(".ProseMirror");
|
|
47933
|
+
pm.classList.add("header-footer-edit");
|
|
47934
|
+
pm.setAttribute("aria-readonly", true);
|
|
47937
47935
|
}
|
|
47938
47936
|
if (focusedSectionEditor) {
|
|
47939
47937
|
focusedSectionEditor.view.focus();
|
|
@@ -50545,7 +50543,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
50545
50543
|
setDocumentMode(documentMode) {
|
|
50546
50544
|
let cleanedMode = documentMode?.toLowerCase() || "editing";
|
|
50547
50545
|
if (!this.extensionService || !this.state) return;
|
|
50548
|
-
const pm =
|
|
50546
|
+
const pm = document.querySelector(".ProseMirror");
|
|
50549
50547
|
if (this.options.role === "viewer") cleanedMode = "viewing";
|
|
50550
50548
|
if (this.options.role === "suggester" && cleanedMode === "editing") cleanedMode = "suggesting";
|
|
50551
50549
|
if (cleanedMode === "viewing") {
|
|
@@ -50775,6 +50773,8 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
50775
50773
|
element.style.isolation = "isolate";
|
|
50776
50774
|
proseMirror.style.outline = "none";
|
|
50777
50775
|
proseMirror.style.border = "none";
|
|
50776
|
+
element.style.backgroundColor = "#fff";
|
|
50777
|
+
proseMirror.style.backgroundColor = "#fff";
|
|
50778
50778
|
const { typeface, fontSizePt, fontFamilyCss } = this.converter.getDocumentDefaultStyles() ?? {};
|
|
50779
50779
|
const resolvedFontFamily = fontFamilyCss || typeface;
|
|
50780
50780
|
if (resolvedFontFamily) {
|
|
@@ -51517,11 +51517,9 @@ createView_fn = function(element) {
|
|
|
51517
51517
|
isEditMode: false,
|
|
51518
51518
|
documentMode: this.options.documentMode
|
|
51519
51519
|
});
|
|
51520
|
-
const pm =
|
|
51521
|
-
|
|
51522
|
-
|
|
51523
|
-
pm.setAttribute("aria-readonly", false);
|
|
51524
|
-
}
|
|
51520
|
+
const pm = document.querySelector(".ProseMirror");
|
|
51521
|
+
pm.classList.remove("header-footer-edit");
|
|
51522
|
+
pm.setAttribute("aria-readonly", false);
|
|
51525
51523
|
}
|
|
51526
51524
|
setWordSelection(view, pos);
|
|
51527
51525
|
}
|
|
@@ -69456,45 +69454,6 @@ const Search = Extension.create({
|
|
|
69456
69454
|
};
|
|
69457
69455
|
}
|
|
69458
69456
|
});
|
|
69459
|
-
let cachedShadowRootCtor;
|
|
69460
|
-
const getShadowRootCtor = () => {
|
|
69461
|
-
if (cachedShadowRootCtor === void 0) {
|
|
69462
|
-
const ctor = globalThis.ShadowRoot;
|
|
69463
|
-
cachedShadowRootCtor = typeof ctor === "function" ? ctor : null;
|
|
69464
|
-
}
|
|
69465
|
-
return cachedShadowRootCtor;
|
|
69466
|
-
};
|
|
69467
|
-
let cachedElementCtor;
|
|
69468
|
-
const getElementCtor = () => {
|
|
69469
|
-
if (cachedElementCtor === void 0) {
|
|
69470
|
-
const ctor = globalThis.Element;
|
|
69471
|
-
cachedElementCtor = typeof ctor === "function" ? ctor : null;
|
|
69472
|
-
}
|
|
69473
|
-
return cachedElementCtor;
|
|
69474
|
-
};
|
|
69475
|
-
const queryWithinRoot = (domNode, selector) => {
|
|
69476
|
-
const shadowRoot = domNode?.shadowRoot;
|
|
69477
|
-
if (shadowRoot && typeof shadowRoot.querySelector === "function") {
|
|
69478
|
-
return shadowRoot.querySelector(selector);
|
|
69479
|
-
}
|
|
69480
|
-
const rawRoot = domNode?.getRootNode?.();
|
|
69481
|
-
const ShadowRootCtor = getShadowRootCtor();
|
|
69482
|
-
const isShadowRoot2 = !!ShadowRootCtor && rawRoot instanceof ShadowRootCtor;
|
|
69483
|
-
if (isShadowRoot2 && typeof rawRoot.querySelector === "function") {
|
|
69484
|
-
return rawRoot.querySelector(selector);
|
|
69485
|
-
}
|
|
69486
|
-
if (domNode && typeof domNode.querySelector === "function") {
|
|
69487
|
-
const localMatch = domNode.querySelector(selector);
|
|
69488
|
-
if (localMatch) return localMatch;
|
|
69489
|
-
}
|
|
69490
|
-
return typeof document !== "undefined" ? document.querySelector(selector) : null;
|
|
69491
|
-
};
|
|
69492
|
-
const findInEventPath = (event, selector) => {
|
|
69493
|
-
if (!event || !selector) return void 0;
|
|
69494
|
-
const path = typeof event.composedPath === "function" ? event.composedPath() : [];
|
|
69495
|
-
const ElementCtor = getElementCtor();
|
|
69496
|
-
return path.find((node) => ElementCtor && node instanceof ElementCtor && node.matches(selector));
|
|
69497
|
-
};
|
|
69498
69457
|
const NodeResizerKey = new PluginKey("node-resizer");
|
|
69499
69458
|
const nodeResizer = (nodeNames = ["image"], editor) => {
|
|
69500
69459
|
let resizeState = {
|
|
@@ -69549,19 +69508,16 @@ const nodeResizer = (nodeNames = ["image"], editor) => {
|
|
|
69549
69508
|
view(view) {
|
|
69550
69509
|
editorView = view;
|
|
69551
69510
|
globalClickHandler = (event) => {
|
|
69552
|
-
|
|
69553
|
-
const containerInPath = findInEventPath(event, ".sd-editor-resize-container");
|
|
69554
|
-
if (!wrapperInPath && !containerInPath) {
|
|
69511
|
+
if (!event.target.closest(".sd-editor-resizable-wrapper") && !event.target.closest(".sd-editor-resize-container")) {
|
|
69555
69512
|
hideResizeHandles();
|
|
69556
69513
|
}
|
|
69557
69514
|
};
|
|
69558
69515
|
document.addEventListener("click", globalClickHandler);
|
|
69559
69516
|
globalMousedownHandler = (event) => {
|
|
69560
|
-
|
|
69561
|
-
if (handle) {
|
|
69517
|
+
if (event.target.closest(".sd-editor-resize-handle")) {
|
|
69562
69518
|
event.preventDefault();
|
|
69563
69519
|
event.stopPropagation();
|
|
69564
|
-
startResize(editorView, event,
|
|
69520
|
+
startResize(editorView, event, event.target);
|
|
69565
69521
|
return true;
|
|
69566
69522
|
}
|
|
69567
69523
|
};
|
|
@@ -69578,7 +69534,7 @@ const nodeResizer = (nodeNames = ["image"], editor) => {
|
|
|
69578
69534
|
const prevSelection = prevState.selection;
|
|
69579
69535
|
if (selection.from !== prevSelection.from || selection.to !== prevSelection.to) {
|
|
69580
69536
|
setTimeout(() => {
|
|
69581
|
-
const selectedResizableWrapper =
|
|
69537
|
+
const selectedResizableWrapper = document.querySelector(".sd-editor-resizable-wrapper");
|
|
69582
69538
|
if (selectedResizableWrapper) {
|
|
69583
69539
|
showResizeHandles(view2, selectedResizableWrapper);
|
|
69584
69540
|
} else {
|
|
@@ -79691,7 +79647,6 @@ const _sfc_main$1$1 = {
|
|
|
79691
79647
|
const toolbarItemRefs = ref$1([]);
|
|
79692
79648
|
const props = __props;
|
|
79693
79649
|
const currentItem = ref$1(null);
|
|
79694
|
-
const { proxy } = getCurrentInstance();
|
|
79695
79650
|
const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
|
|
79696
79651
|
const isMobile = window.matchMedia("(max-width: 768px)").matches;
|
|
79697
79652
|
const styleMap = {
|
|
@@ -79790,8 +79745,10 @@ const _sfc_main$1$1 = {
|
|
|
79790
79745
|
nextButtonGroup.setAttribute("tabindex", "0");
|
|
79791
79746
|
nextButtonGroup.focus();
|
|
79792
79747
|
} else {
|
|
79793
|
-
const
|
|
79794
|
-
|
|
79748
|
+
const editor = document.querySelector(".ProseMirror");
|
|
79749
|
+
if (editor) {
|
|
79750
|
+
editor.focus();
|
|
79751
|
+
}
|
|
79795
79752
|
}
|
|
79796
79753
|
};
|
|
79797
79754
|
const moveToPreviousButtonGroup = (e) => {
|
|
@@ -79937,7 +79894,7 @@ const _sfc_main$1$1 = {
|
|
|
79937
79894
|
};
|
|
79938
79895
|
}
|
|
79939
79896
|
};
|
|
79940
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["__scopeId", "data-v-
|
|
79897
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["__scopeId", "data-v-f42ec7e6"]]);
|
|
79941
79898
|
const _sfc_main$f = {
|
|
79942
79899
|
__name: "Toolbar",
|
|
79943
79900
|
emits: ["command", "toggle", "select"],
|
|
@@ -84711,12 +84668,10 @@ const _sfc_main$4 = {
|
|
|
84711
84668
|
}
|
|
84712
84669
|
};
|
|
84713
84670
|
function adjustPaginationBreaks(editorElem, editor) {
|
|
84714
|
-
|
|
84715
|
-
if (!hostElement || !editor?.value?.options?.scale) return;
|
|
84671
|
+
if (!editorElem.value || !editor?.value?.options?.scale) return;
|
|
84716
84672
|
const zoom = editor.value.options.scale;
|
|
84717
|
-
const bounds =
|
|
84718
|
-
const
|
|
84719
|
-
const breakNodes = searchRoot.querySelectorAll(".pagination-break-wrapper");
|
|
84673
|
+
const bounds = editorElem.value.getBoundingClientRect();
|
|
84674
|
+
const breakNodes = editorElem.value.querySelectorAll(".pagination-break-wrapper");
|
|
84720
84675
|
let firstLeft;
|
|
84721
84676
|
breakNodes.forEach((node) => {
|
|
84722
84677
|
const nodeBounds = node.getBoundingClientRect();
|
|
@@ -85007,821 +84962,6 @@ const _sfc_main$2 = {
|
|
|
85007
84962
|
};
|
|
85008
84963
|
const GenericPopover = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-cbddcc0f"]]);
|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AACEACvOn+GwBAADtAgAAEQAAAAAAAAAAAAAAAADgMAAAZG9jUHJvcHMvY29yZS54bWxQSwECLQAUAAYACAAAACEAIRivWWsBAADFAgAAEAAAAAAAAAAAAAAAAACDMwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAADAAMAAEDAAAkNgAAAAA=";
|
|
85010
|
-
const editorStyles = `:root {
|
|
85011
|
-
/* CSS variables */
|
|
85012
|
-
}
|
|
85013
|
-
.sd-input-active {
|
|
85014
|
-
border: 1px solid #1355ff !important;
|
|
85015
|
-
}
|
|
85016
|
-
.sd-super-editor-html .ProseMirror {
|
|
85017
|
-
border: 1px solid #d9d9d9;
|
|
85018
|
-
outline: none;
|
|
85019
|
-
border-radius: 8px;
|
|
85020
|
-
height: 100%;
|
|
85021
|
-
width: 100%;
|
|
85022
|
-
outline: none;
|
|
85023
|
-
}
|
|
85024
|
-
a {
|
|
85025
|
-
text-decoration: auto;
|
|
85026
|
-
}
|
|
85027
|
-
/**
|
|
85028
|
-
* Basic ProseMirror styles.
|
|
85029
|
-
* https://github.com/ProseMirror/prosemirror-view/blob/master/style/prosemirror.css
|
|
85030
|
-
*/
|
|
85031
|
-
.ProseMirror {
|
|
85032
|
-
position: relative;
|
|
85033
|
-
}
|
|
85034
|
-
.ProseMirror {
|
|
85035
|
-
word-wrap: break-word;
|
|
85036
|
-
white-space: pre-wrap;
|
|
85037
|
-
white-space: break-spaces;
|
|
85038
|
-
-webkit-font-variant-ligatures: none;
|
|
85039
|
-
font-variant-ligatures: none;
|
|
85040
|
-
font-feature-settings: 'liga' 0; /* the above doesn't seem to work in Edge */
|
|
85041
|
-
}
|
|
85042
|
-
.ProseMirror pre {
|
|
85043
|
-
white-space: pre-wrap;
|
|
85044
|
-
}
|
|
85045
|
-
.ProseMirror ol,
|
|
85046
|
-
.ProseMirror ul {
|
|
85047
|
-
margin-block-start: 0;
|
|
85048
|
-
margin-block-end: 0;
|
|
85049
|
-
margin-inline-start: 0;
|
|
85050
|
-
margin-inline-end: 0;
|
|
85051
|
-
}
|
|
85052
|
-
.ProseMirror ol,
|
|
85053
|
-
.ProseMirror ul {
|
|
85054
|
-
padding-inline-start: 0;
|
|
85055
|
-
padding-left: 0;
|
|
85056
|
-
list-style: none;
|
|
85057
|
-
}
|
|
85058
|
-
.ProseMirror li::marker {
|
|
85059
|
-
content: none;
|
|
85060
|
-
}
|
|
85061
|
-
.ProseMirror li::marker {
|
|
85062
|
-
padding: 0;
|
|
85063
|
-
margin: 0;
|
|
85064
|
-
}
|
|
85065
|
-
.ProseMirror li > p {
|
|
85066
|
-
margin: 0;
|
|
85067
|
-
padding: 0;
|
|
85068
|
-
display: inline-block;
|
|
85069
|
-
}
|
|
85070
|
-
.ProseMirror.header-footer-edit > p img,
|
|
85071
|
-
.ProseMirror.header-footer-edit > p a,
|
|
85072
|
-
.ProseMirror.header-footer-edit li img,
|
|
85073
|
-
.ProseMirror.header-footer-edit li a,
|
|
85074
|
-
.ProseMirror.header-footer-edit span img,
|
|
85075
|
-
.ProseMirror.header-footer-edit span a {
|
|
85076
|
-
opacity: 1;
|
|
85077
|
-
}
|
|
85078
|
-
.ProseMirror.header-footer-edit .pagination-break-wrapper {
|
|
85079
|
-
color: initial !important;
|
|
85080
|
-
}
|
|
85081
|
-
.ProseMirror.header-footer-edit .pagination-break-wrapper span {
|
|
85082
|
-
color: initial !important;
|
|
85083
|
-
}
|
|
85084
|
-
.ProseMirror.header-footer-edit .pagination-break-wrapper img,
|
|
85085
|
-
.ProseMirror.header-footer-edit .pagination-break-wrapper a {
|
|
85086
|
-
opacity: 1;
|
|
85087
|
-
}
|
|
85088
|
-
.pagination-section-header div[contenteditable='false'] {
|
|
85089
|
-
user-select: none;
|
|
85090
|
-
}
|
|
85091
|
-
/**
|
|
85092
|
-
* Hide marker for indented lists.
|
|
85093
|
-
* If a list-item contains a list but doesn't contain a "p" tag with text.
|
|
85094
|
-
*/
|
|
85095
|
-
.ProseMirror ol {
|
|
85096
|
-
margin: 0;
|
|
85097
|
-
}
|
|
85098
|
-
.ProseMirror li:has(> ul:first-child, > ol:first-child):not(:has(> p)) {
|
|
85099
|
-
list-style-type: none;
|
|
85100
|
-
}
|
|
85101
|
-
.ProseMirror li:has(> ul:first-child, > ol:first-child):not(:has(> p))::marker {
|
|
85102
|
-
content: '';
|
|
85103
|
-
}
|
|
85104
|
-
.ProseMirror-hideselection *::selection {
|
|
85105
|
-
background: transparent;
|
|
85106
|
-
}
|
|
85107
|
-
.ProseMirror-hideselection *::-moz-selection {
|
|
85108
|
-
background: transparent;
|
|
85109
|
-
}
|
|
85110
|
-
.ProseMirror-hideselection * {
|
|
85111
|
-
caret-color: transparent;
|
|
85112
|
-
}
|
|
85113
|
-
/* See https://github.com/ProseMirror/prosemirror/issues/1421#issuecomment-1759320191 */
|
|
85114
|
-
.ProseMirror [draggable][contenteditable='false'] {
|
|
85115
|
-
user-select: text;
|
|
85116
|
-
}
|
|
85117
|
-
.ProseMirror-selectednode {
|
|
85118
|
-
outline: 2px solid #8cf;
|
|
85119
|
-
}
|
|
85120
|
-
/* Make sure li selections wrap around markers */
|
|
85121
|
-
li.ProseMirror-selectednode {
|
|
85122
|
-
outline: none;
|
|
85123
|
-
}
|
|
85124
|
-
li.ProseMirror-selectednode:after {
|
|
85125
|
-
content: '';
|
|
85126
|
-
position: absolute;
|
|
85127
|
-
left: -32px;
|
|
85128
|
-
right: -2px;
|
|
85129
|
-
top: -2px;
|
|
85130
|
-
bottom: -2px;
|
|
85131
|
-
border: 2px solid #8cf;
|
|
85132
|
-
pointer-events: none;
|
|
85133
|
-
}
|
|
85134
|
-
.ProseMirror img {
|
|
85135
|
-
height: auto;
|
|
85136
|
-
max-width: 100%;
|
|
85137
|
-
}
|
|
85138
|
-
/* Protect against generic img rules */
|
|
85139
|
-
img.ProseMirror-separator {
|
|
85140
|
-
display: inline !important;
|
|
85141
|
-
border: none !important;
|
|
85142
|
-
margin: 0 !important;
|
|
85143
|
-
}
|
|
85144
|
-
.ProseMirror .sd-editor-tab {
|
|
85145
|
-
display: inline-block;
|
|
85146
|
-
vertical-align: text-bottom;
|
|
85147
|
-
}
|
|
85148
|
-
.ProseMirror u .sd-editor-tab:not(.pagination-inner .sd-editor-tab) {
|
|
85149
|
-
white-space: pre;
|
|
85150
|
-
border-bottom: 1px solid #000;
|
|
85151
|
-
margin-bottom: 1.5px;
|
|
85152
|
-
}
|
|
85153
|
-
/*
|
|
85154
|
-
Tables
|
|
85155
|
-
https://github.com/ProseMirror/prosemirror-tables/blob/master/style/tables.css
|
|
85156
|
-
https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
|
|
85157
|
-
*/
|
|
85158
|
-
.ProseMirror.resize-cursor {
|
|
85159
|
-
cursor: ew-resize;
|
|
85160
|
-
cursor: col-resize;
|
|
85161
|
-
}
|
|
85162
|
-
.ProseMirror .tableWrapper {
|
|
85163
|
-
--table-border-width: 1px;
|
|
85164
|
-
--offset: 2px;
|
|
85165
|
-
|
|
85166
|
-
overflow-x: auto;
|
|
85167
|
-
scrollbar-width: thin;
|
|
85168
|
-
overflow: hidden;
|
|
85169
|
-
|
|
85170
|
-
/*
|
|
85171
|
-
The border width does not need to be multiplied by two,
|
|
85172
|
-
for tables it works differently. */
|
|
85173
|
-
width: calc(100% + (var(--table-border-width) + var(--offset)));
|
|
85174
|
-
}
|
|
85175
|
-
.ProseMirror table {
|
|
85176
|
-
border-collapse: collapse;
|
|
85177
|
-
border-spacing: 0;
|
|
85178
|
-
table-layout: fixed;
|
|
85179
|
-
margin: 0;
|
|
85180
|
-
/* width: 100%; */
|
|
85181
|
-
}
|
|
85182
|
-
.ProseMirror tr {
|
|
85183
|
-
position: relative;
|
|
85184
|
-
}
|
|
85185
|
-
.ProseMirror td,
|
|
85186
|
-
.ProseMirror th {
|
|
85187
|
-
min-width: 1em;
|
|
85188
|
-
position: relative;
|
|
85189
|
-
vertical-align: top;
|
|
85190
|
-
box-sizing: border-box;
|
|
85191
|
-
overflow-wrap: anywhere;
|
|
85192
|
-
}
|
|
85193
|
-
.ProseMirror th {
|
|
85194
|
-
font-weight: bold;
|
|
85195
|
-
text-align: left;
|
|
85196
|
-
}
|
|
85197
|
-
.ProseMirror table .column-resize-handle {
|
|
85198
|
-
position: absolute;
|
|
85199
|
-
right: -2px;
|
|
85200
|
-
top: 0;
|
|
85201
|
-
bottom: -2px; /* 0 */
|
|
85202
|
-
width: 4px;
|
|
85203
|
-
z-index: 20;
|
|
85204
|
-
background-color: #adf;
|
|
85205
|
-
pointer-events: none;
|
|
85206
|
-
}
|
|
85207
|
-
.ProseMirror table .selectedCell:after {
|
|
85208
|
-
position: absolute;
|
|
85209
|
-
content: '';
|
|
85210
|
-
left: 0;
|
|
85211
|
-
right: 0;
|
|
85212
|
-
top: 0;
|
|
85213
|
-
bottom: 0;
|
|
85214
|
-
background: rgba(200, 200, 255, 0.4);
|
|
85215
|
-
pointer-events: none;
|
|
85216
|
-
z-index: 2;
|
|
85217
|
-
}
|
|
85218
|
-
/* Tables - end */
|
|
85219
|
-
/* Track changes */
|
|
85220
|
-
.ProseMirror .track-insert-dec,
|
|
85221
|
-
.ProseMirror .track-delete-dec,
|
|
85222
|
-
.ProseMirror .track-format-dec {
|
|
85223
|
-
pointer-events: none;
|
|
85224
|
-
}
|
|
85225
|
-
.ProseMirror .track-insert-dec.hidden,
|
|
85226
|
-
.ProseMirror .track-delete-dec.hidden {
|
|
85227
|
-
display: none;
|
|
85228
|
-
}
|
|
85229
|
-
.ProseMirror .track-insert-dec.highlighted {
|
|
85230
|
-
border-top: 1px dashed #00853d;
|
|
85231
|
-
border-bottom: 1px dashed #00853d;
|
|
85232
|
-
background-color: #399c7222;
|
|
85233
|
-
}
|
|
85234
|
-
.ProseMirror .track-delete-dec.highlighted {
|
|
85235
|
-
border-top: 1px dashed #cb0e47;
|
|
85236
|
-
border-bottom: 1px dashed #cb0e47;
|
|
85237
|
-
background-color: #cb0e4722;
|
|
85238
|
-
text-decoration: line-through;
|
|
85239
|
-
text-decoration-thickness: 2px;
|
|
85240
|
-
}
|
|
85241
|
-
.ProseMirror .track-format-dec.highlighted {
|
|
85242
|
-
border-bottom: 2px solid gold;
|
|
85243
|
-
}
|
|
85244
|
-
.ProseMirror .track-delete-widget {
|
|
85245
|
-
visibility: hidden;
|
|
85246
|
-
}
|
|
85247
|
-
/* Track changes - end */
|
|
85248
|
-
/* Collaboration cursors */
|
|
85249
|
-
.ProseMirror > .ProseMirror-yjs-cursor:first-child {
|
|
85250
|
-
margin-top: 16px;
|
|
85251
|
-
}
|
|
85252
|
-
.ProseMirror-yjs-cursor {
|
|
85253
|
-
position: relative;
|
|
85254
|
-
margin-left: -1px;
|
|
85255
|
-
margin-right: -1px;
|
|
85256
|
-
border-left: 1px solid black;
|
|
85257
|
-
border-right: 1px solid black;
|
|
85258
|
-
border-color: orange;
|
|
85259
|
-
word-break: normal;
|
|
85260
|
-
pointer-events: none;
|
|
85261
|
-
}
|
|
85262
|
-
.ProseMirror-yjs-cursor > div {
|
|
85263
|
-
position: absolute;
|
|
85264
|
-
top: -1.05em;
|
|
85265
|
-
left: -1px;
|
|
85266
|
-
font-size: 13px;
|
|
85267
|
-
background-color: rgb(250, 129, 0);
|
|
85268
|
-
font-family: serif;
|
|
85269
|
-
font-style: normal;
|
|
85270
|
-
font-weight: normal;
|
|
85271
|
-
line-height: normal;
|
|
85272
|
-
user-select: none;
|
|
85273
|
-
color: white;
|
|
85274
|
-
padding-left: 2px;
|
|
85275
|
-
padding-right: 2px;
|
|
85276
|
-
white-space: nowrap;
|
|
85277
|
-
}
|
|
85278
|
-
/* Collaboration cursors - end */
|
|
85279
|
-
/* Image placeholder */
|
|
85280
|
-
.ProseMirror placeholder {
|
|
85281
|
-
display: inline;
|
|
85282
|
-
border: 1px solid #ccc;
|
|
85283
|
-
color: #ccc;
|
|
85284
|
-
}
|
|
85285
|
-
.ProseMirror placeholder:after {
|
|
85286
|
-
content: '☁';
|
|
85287
|
-
font-size: 200%;
|
|
85288
|
-
line-height: 0.1;
|
|
85289
|
-
font-weight: bold;
|
|
85290
|
-
}
|
|
85291
|
-
/* Gapcursor */
|
|
85292
|
-
.ProseMirror-gapcursor {
|
|
85293
|
-
display: none;
|
|
85294
|
-
pointer-events: none;
|
|
85295
|
-
position: absolute;
|
|
85296
|
-
margin: 0;
|
|
85297
|
-
}
|
|
85298
|
-
.ProseMirror-gapcursor:after {
|
|
85299
|
-
content: '';
|
|
85300
|
-
display: block;
|
|
85301
|
-
position: absolute;
|
|
85302
|
-
top: -2px;
|
|
85303
|
-
width: 20px;
|
|
85304
|
-
border-top: 1px solid black;
|
|
85305
|
-
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
85306
|
-
}
|
|
85307
|
-
@keyframes ProseMirror-cursor-blink {
|
|
85308
|
-
to {
|
|
85309
|
-
visibility: hidden;
|
|
85310
|
-
}
|
|
85311
|
-
}
|
|
85312
|
-
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
85313
|
-
display: block;
|
|
85314
|
-
}
|
|
85315
|
-
.ProseMirror div[data-type='contentBlock'] {
|
|
85316
|
-
position: absolute;
|
|
85317
|
-
outline: none;
|
|
85318
|
-
user-select: none;
|
|
85319
|
-
z-index: -1;
|
|
85320
|
-
}
|
|
85321
|
-
.ProseMirror div[data-horizontal-rule='true'] {
|
|
85322
|
-
margin-top: auto;
|
|
85323
|
-
align-self: flex-end;
|
|
85324
|
-
}
|
|
85325
|
-
.sd-editor-dropcap {
|
|
85326
|
-
float: left;
|
|
85327
|
-
display: flex;
|
|
85328
|
-
align-items: baseline;
|
|
85329
|
-
margin-top: -5px;
|
|
85330
|
-
}
|
|
85331
|
-
.ProseMirror-search-match {
|
|
85332
|
-
background-color: #ffff0054;
|
|
85333
|
-
}
|
|
85334
|
-
.ProseMirror-active-search-match {
|
|
85335
|
-
background-color: #ff6a0054;
|
|
85336
|
-
}
|
|
85337
|
-
.ProseMirror span.sd-custom-selection::selection {
|
|
85338
|
-
background: transparent;
|
|
85339
|
-
}
|
|
85340
|
-
.sd-custom-selection {
|
|
85341
|
-
background-color: #d9d9d9;
|
|
85342
|
-
border-radius: 0.1em;
|
|
85343
|
-
}
|
|
85344
|
-
.superdoc-toolbar svg {
|
|
85345
|
-
width: 100%;
|
|
85346
|
-
height: 100%;
|
|
85347
|
-
display: block;
|
|
85348
|
-
fill: currentColor;
|
|
85349
|
-
}
|
|
85350
|
-
.superdoc-toolbar svg path {
|
|
85351
|
-
stroke: currentColor;
|
|
85352
|
-
}
|
|
85353
|
-
.sd-editor-toolbar-dropdown .n-dropdown-option .dropdown-select-icon {
|
|
85354
|
-
display: flex;
|
|
85355
|
-
width: 12px;
|
|
85356
|
-
height: 12px;
|
|
85357
|
-
}
|
|
85358
|
-
/* Custom toolbar styling */
|
|
85359
|
-
/* AI button icon styling with gradient */
|
|
85360
|
-
.toolbar-icon__icon--ai {
|
|
85361
|
-
position: relative;
|
|
85362
|
-
z-index: 1;
|
|
85363
|
-
}
|
|
85364
|
-
.toolbar-icon__icon--ai svg {
|
|
85365
|
-
fill: transparent;
|
|
85366
|
-
}
|
|
85367
|
-
.toolbar-icon__icon--ai::before {
|
|
85368
|
-
content: '';
|
|
85369
|
-
position: absolute;
|
|
85370
|
-
top: 0;
|
|
85371
|
-
left: 0;
|
|
85372
|
-
right: 0;
|
|
85373
|
-
bottom: 0;
|
|
85374
|
-
z-index: -1;
|
|
85375
|
-
background: linear-gradient(
|
|
85376
|
-
270deg,
|
|
85377
|
-
rgba(218, 215, 118, 0.5) -20%,
|
|
85378
|
-
rgba(191, 100, 100, 1) 30%,
|
|
85379
|
-
rgba(77, 82, 217, 1) 60%,
|
|
85380
|
-
rgb(255, 219, 102) 150%
|
|
85381
|
-
);
|
|
85382
|
-
-webkit-mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
|
|
85383
|
-
center / contain no-repeat;
|
|
85384
|
-
mask: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z'/></svg>")
|
|
85385
|
-
center / contain no-repeat;
|
|
85386
|
-
filter: brightness(1.2);
|
|
85387
|
-
transition: filter 0.2s ease;
|
|
85388
|
-
}
|
|
85389
|
-
.toolbar-icon__icon--ai:hover::before {
|
|
85390
|
-
filter: brightness(1.3);
|
|
85391
|
-
}
|
|
85392
|
-
/* AI text appear animation */
|
|
85393
|
-
@keyframes aiTextAppear {
|
|
85394
|
-
from {
|
|
85395
|
-
opacity: 0;
|
|
85396
|
-
transform: translateY(5px);
|
|
85397
|
-
}
|
|
85398
|
-
to {
|
|
85399
|
-
opacity: 1;
|
|
85400
|
-
transform: translateY(0);
|
|
85401
|
-
}
|
|
85402
|
-
}
|
|
85403
|
-
.sd-ai-text-appear {
|
|
85404
|
-
display: inline;
|
|
85405
|
-
opacity: 0;
|
|
85406
|
-
animation: aiTextAppear 0.7s ease-out forwards;
|
|
85407
|
-
animation-fill-mode: both;
|
|
85408
|
-
will-change: opacity, transform;
|
|
85409
|
-
/* Ensure each mark is treated as a separate animation context */
|
|
85410
|
-
contain: content;
|
|
85411
|
-
}
|
|
85412
|
-
.sd-ai-loader {
|
|
85413
|
-
display: flex;
|
|
85414
|
-
justify-content: flex-start;
|
|
85415
|
-
}
|
|
85416
|
-
.sd-ai-loader > img {
|
|
85417
|
-
width: fit-content;
|
|
85418
|
-
height: 40px;
|
|
85419
|
-
}
|
|
85420
|
-
@keyframes ai-pulse {
|
|
85421
|
-
0% {
|
|
85422
|
-
background-color: rgba(99, 102, 241, 0.1);
|
|
85423
|
-
}
|
|
85424
|
-
50% {
|
|
85425
|
-
background-color: rgba(99, 102, 241, 0.375);
|
|
85426
|
-
}
|
|
85427
|
-
100% {
|
|
85428
|
-
background-color: rgba(99, 102, 241, 0.1);
|
|
85429
|
-
}
|
|
85430
|
-
}
|
|
85431
|
-
.sd-ai-highlight-pulse {
|
|
85432
|
-
animation: ai-pulse 1.5s ease-in-out infinite;
|
|
85433
|
-
}
|
|
85434
|
-
.sd-editor-auto-page-number,
|
|
85435
|
-
.sd-editor-auto-total-pages {
|
|
85436
|
-
transition: all 250ms ease;
|
|
85437
|
-
border-bottom: 1px solid #9a9a9a;
|
|
85438
|
-
cursor: not-allowed;
|
|
85439
|
-
}
|
|
85440
|
-
.sd-editor-auto-page-number:hover,
|
|
85441
|
-
.sd-editor-auto-total-pages:hover {
|
|
85442
|
-
border-bottom-color: #4f4f4f;
|
|
85443
|
-
}
|
|
85444
|
-
.sd-editor-auto-page-number-content {
|
|
85445
|
-
pointer-events: none;
|
|
85446
|
-
}
|
|
85447
|
-
.ProseMirror.view-mode .sd-editor-auto-page-number,
|
|
85448
|
-
.ProseMirror.view-mode .sd-editor-auto-total-pages {
|
|
85449
|
-
border: none;
|
|
85450
|
-
}
|
|
85451
|
-
:root {
|
|
85452
|
-
--sd-editor-separator-height: 18px;
|
|
85453
|
-
}
|
|
85454
|
-
.pagination-section-header {
|
|
85455
|
-
cursor: default;
|
|
85456
|
-
}
|
|
85457
|
-
/* To not inherit styles from the wrapper paragraph */
|
|
85458
|
-
.pagination-section-header p {
|
|
85459
|
-
text-align: initial;
|
|
85460
|
-
}
|
|
85461
|
-
.pagination-section-footer {
|
|
85462
|
-
position: relative;
|
|
85463
|
-
width: 100%;
|
|
85464
|
-
min-width: 100%;
|
|
85465
|
-
display: flex;
|
|
85466
|
-
flex-direction: column;
|
|
85467
|
-
justify-content: flex-end;
|
|
85468
|
-
cursor: default;
|
|
85469
|
-
}
|
|
85470
|
-
/* To not inherit styles from the wrapper paragraph */
|
|
85471
|
-
.pagination-section-footer p {
|
|
85472
|
-
text-align: initial;
|
|
85473
|
-
}
|
|
85474
|
-
.pagination-break-wrapper {
|
|
85475
|
-
width: 100%;
|
|
85476
|
-
margin: 0;
|
|
85477
|
-
padding: 0;
|
|
85478
|
-
cursor: default;
|
|
85479
|
-
position: relative;
|
|
85480
|
-
}
|
|
85481
|
-
.pagination-separator {
|
|
85482
|
-
position: relative;
|
|
85483
|
-
display: block;
|
|
85484
|
-
height: var(--sd-editor-separator-height);
|
|
85485
|
-
min-height: var(--sd-editor-separator-height);
|
|
85486
|
-
min-width: 100%;
|
|
85487
|
-
width: 100%;
|
|
85488
|
-
border-top: 1px solid #dbdbdb;
|
|
85489
|
-
border-bottom: 1px solid #dbdbdb;
|
|
85490
|
-
cursor: default;
|
|
85491
|
-
}
|
|
85492
|
-
.pagination-separator--table {
|
|
85493
|
-
border: 0;
|
|
85494
|
-
}
|
|
85495
|
-
.pagination-separator-floating {
|
|
85496
|
-
position: absolute;
|
|
85497
|
-
height: var(--sd-editor-separator-height);
|
|
85498
|
-
border-top: 1px solid #dbdbdb;
|
|
85499
|
-
border-bottom: 1px solid #dbdbdb;
|
|
85500
|
-
pointer-events: none;
|
|
85501
|
-
}
|
|
85502
|
-
.pagination-inner {
|
|
85503
|
-
position: absolute;
|
|
85504
|
-
top: 0;
|
|
85505
|
-
left: 0;
|
|
85506
|
-
display: flex;
|
|
85507
|
-
flex-direction: column;
|
|
85508
|
-
background-color: white;
|
|
85509
|
-
}
|
|
85510
|
-
/**
|
|
85511
|
-
Workaround to display pagination in footer
|
|
85512
|
-
on the right if it is inside shape textbox.
|
|
85513
|
-
*/
|
|
85514
|
-
.pagination-section-footer .sd-editor-shape-container:has([data-id='auto-page-number'], [data-id='auto-total-pages']) {
|
|
85515
|
-
margin-left: auto;
|
|
85516
|
-
}
|
|
85517
|
-
.pagination-section-header img[contenteditable='false'],
|
|
85518
|
-
.pagination-section-footer img[contenteditable='false'] {
|
|
85519
|
-
pointer-events: none;
|
|
85520
|
-
}
|
|
85521
|
-
.pagination-break-wrapper {
|
|
85522
|
-
font-weight: normal;
|
|
85523
|
-
font-style: normal;
|
|
85524
|
-
color: initial;
|
|
85525
|
-
}
|
|
85526
|
-
/* TODO: This is going to be enabled again */
|
|
85527
|
-
/* .pagination-section-header div[contenteditable="false"]:not([documentmode="viewing"]),
|
|
85528
|
-
.pagination-section-footer div[contenteditable="false"]:not([documentmode="viewing"]) {
|
|
85529
|
-
opacity: 0.5;
|
|
85530
|
-
} */
|
|
85531
|
-
.sd-editor-popover {
|
|
85532
|
-
background-color: #fff;
|
|
85533
|
-
border-radius: 8px;
|
|
85534
|
-
-webkit-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
|
|
85535
|
-
-moz-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
|
|
85536
|
-
box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
|
|
85537
|
-
padding: 0;
|
|
85538
|
-
width: auto;
|
|
85539
|
-
height: auto;
|
|
85540
|
-
font-size: 14px;
|
|
85541
|
-
color: #333;
|
|
85542
|
-
z-index: 1000;
|
|
85543
|
-
}
|
|
85544
|
-
.sd-editor-popover .popover-header {
|
|
85545
|
-
font-weight: bold;
|
|
85546
|
-
margin-bottom: 8px;
|
|
85547
|
-
}
|
|
85548
|
-
.tippy-box[data-theme~='sd-editor-popover'] {
|
|
85549
|
-
background-color: #fff;
|
|
85550
|
-
border-radius: 8px;
|
|
85551
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
|
|
85552
|
-
border: none !important;
|
|
85553
|
-
padding: 0 !important;
|
|
85554
|
-
}
|
|
85555
|
-
.tippy-box[data-theme~='sd-editor-popover'] .tippy-arrow {
|
|
85556
|
-
color: #fff;
|
|
85557
|
-
border: 1px solid #dbdbdb;
|
|
85558
|
-
}
|
|
85559
|
-
.tippy-box[data-theme~='sd-editor-popover'] .tippy-content {
|
|
85560
|
-
padding: 0;
|
|
85561
|
-
}
|
|
85562
|
-
.sd-editor-placeholder::before {
|
|
85563
|
-
content: attr(data-placeholder);
|
|
85564
|
-
color: #aaa;
|
|
85565
|
-
pointer-events: none;
|
|
85566
|
-
display: block;
|
|
85567
|
-
height: 0;
|
|
85568
|
-
}
|
|
85569
|
-
.sd-editor-mention {
|
|
85570
|
-
background-color: #1355ff15;
|
|
85571
|
-
color: #222;
|
|
85572
|
-
font-weight: 400;
|
|
85573
|
-
border-radius: 3px;
|
|
85574
|
-
padding: 0 5px;
|
|
85575
|
-
cursor: default;
|
|
85576
|
-
display: inline-block;
|
|
85577
|
-
box-sizing: border-box;
|
|
85578
|
-
}
|
|
85579
|
-
.sd-editor-comment-highlight {
|
|
85580
|
-
transition: background-color 250ms ease;
|
|
85581
|
-
}
|
|
85582
|
-
.sd-editor-comment-highlight:hover {
|
|
85583
|
-
background-color: #1354ff55;
|
|
85584
|
-
}
|
|
85585
|
-
.sd-editor-comment-highlight.sd-custom-selection {
|
|
85586
|
-
background-color: #d6c0c6 !important;
|
|
85587
|
-
}
|
|
85588
|
-
.sd-editor-list-item-node-view {
|
|
85589
|
-
position: relative;
|
|
85590
|
-
width: 100%;
|
|
85591
|
-
}
|
|
85592
|
-
.sd-editor-list-item-numbering {
|
|
85593
|
-
position: absolute;
|
|
85594
|
-
top: 0;
|
|
85595
|
-
white-space: nowrap;
|
|
85596
|
-
user-select: none;
|
|
85597
|
-
pointer-events: auto;
|
|
85598
|
-
text-align: right;
|
|
85599
|
-
z-index: 1;
|
|
85600
|
-
}
|
|
85601
|
-
.sd-editor-list-item-content-dom {
|
|
85602
|
-
position: relative;
|
|
85603
|
-
min-height: inherit;
|
|
85604
|
-
word-wrap: break-word;
|
|
85605
|
-
}
|
|
85606
|
-
/* temporary fix */
|
|
85607
|
-
.sd-editor-list-item-node-view .sd-custom-selection {
|
|
85608
|
-
font-size: inherit !important;
|
|
85609
|
-
}
|
|
85610
|
-
/* Resize handles container */
|
|
85611
|
-
.sd-editor-resize-container {
|
|
85612
|
-
position: absolute;
|
|
85613
|
-
pointer-events: none;
|
|
85614
|
-
z-index: 11;
|
|
85615
|
-
}
|
|
85616
|
-
/* Resize handles */
|
|
85617
|
-
.sd-editor-resize-handle {
|
|
85618
|
-
position: absolute;
|
|
85619
|
-
width: 12px;
|
|
85620
|
-
height: 12px;
|
|
85621
|
-
background-color: #4dabf7;
|
|
85622
|
-
border: 2px solid #fff;
|
|
85623
|
-
border-radius: 50%;
|
|
85624
|
-
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
|
85625
|
-
pointer-events: auto;
|
|
85626
|
-
transition: all 0.1s ease;
|
|
85627
|
-
}
|
|
85628
|
-
.sd-editor-resize-handle:hover {
|
|
85629
|
-
background-color: #228be6;
|
|
85630
|
-
transform: scale(1.1);
|
|
85631
|
-
box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
|
|
85632
|
-
}
|
|
85633
|
-
/* Handle positions */
|
|
85634
|
-
.sd-editor-resize-handle-nw {
|
|
85635
|
-
top: -6px;
|
|
85636
|
-
left: -6px;
|
|
85637
|
-
cursor: nwse-resize;
|
|
85638
|
-
}
|
|
85639
|
-
.sd-editor-resize-handle-ne {
|
|
85640
|
-
top: -6px;
|
|
85641
|
-
right: -6px;
|
|
85642
|
-
cursor: nesw-resize;
|
|
85643
|
-
}
|
|
85644
|
-
.sd-editor-resize-handle-sw {
|
|
85645
|
-
bottom: -6px;
|
|
85646
|
-
left: -6px;
|
|
85647
|
-
cursor: nesw-resize;
|
|
85648
|
-
}
|
|
85649
|
-
.sd-editor-resize-handle-se {
|
|
85650
|
-
bottom: -6px;
|
|
85651
|
-
right: -6px;
|
|
85652
|
-
cursor: nwse-resize;
|
|
85653
|
-
}
|
|
85654
|
-
/* Hide handles when editor loses focus */
|
|
85655
|
-
.ProseMirror:not(.ProseMirror-focused) .sd-editor-resize-container {
|
|
85656
|
-
display: none;
|
|
85657
|
-
}
|
|
85658
|
-
/* Smooth transitions for resizing */
|
|
85659
|
-
.sd-editor-resizable-wrapper * {
|
|
85660
|
-
transition: none;
|
|
85661
|
-
}
|
|
85662
|
-
.sd-editor-resizable-wrapper *:not([style*='width']) {
|
|
85663
|
-
transition: all 0.2s ease;
|
|
85664
|
-
}
|
|
85665
|
-
/* Resize feedback indicator */
|
|
85666
|
-
.sd-editor-resizable-wrapper::after {
|
|
85667
|
-
content: 'Drag corners to resize';
|
|
85668
|
-
position: absolute;
|
|
85669
|
-
bottom: -25px;
|
|
85670
|
-
left: 50%;
|
|
85671
|
-
transform: translateX(-50%);
|
|
85672
|
-
background-color: rgba(77, 171, 247, 0.9);
|
|
85673
|
-
color: white;
|
|
85674
|
-
font-size: 11px;
|
|
85675
|
-
padding: 4px 8px;
|
|
85676
|
-
border-radius: 4px;
|
|
85677
|
-
white-space: nowrap;
|
|
85678
|
-
pointer-events: none;
|
|
85679
|
-
opacity: 0;
|
|
85680
|
-
transition: opacity 0.3s ease;
|
|
85681
|
-
z-index: 12;
|
|
85682
|
-
}
|
|
85683
|
-
.sd-editor-resizable-wrapper:hover::after {
|
|
85684
|
-
opacity: 1;
|
|
85685
|
-
}
|
|
85686
|
-
.sd-document-section-block {
|
|
85687
|
-
background-color: #fafafa;
|
|
85688
|
-
border: 1px solid #ababab;
|
|
85689
|
-
border-radius: 4px;
|
|
85690
|
-
position: relative;
|
|
85691
|
-
}
|
|
85692
|
-
.sd-document-section-block-info {
|
|
85693
|
-
position: absolute;
|
|
85694
|
-
top: -19px;
|
|
85695
|
-
left: -1px;
|
|
85696
|
-
max-width: 100px;
|
|
85697
|
-
min-width: 0;
|
|
85698
|
-
height: 18px;
|
|
85699
|
-
border: 1px solid #ababab;
|
|
85700
|
-
border-bottom: none;
|
|
85701
|
-
border-radius: 6px 6px 0 0;
|
|
85702
|
-
padding: 0 8px;
|
|
85703
|
-
align-items: center;
|
|
85704
|
-
font-size: 10px;
|
|
85705
|
-
display: none;
|
|
85706
|
-
z-index: 100;
|
|
85707
|
-
background-color: #fafafa;
|
|
85708
|
-
}
|
|
85709
|
-
.sd-document-section-block:hover {
|
|
85710
|
-
border-radius: 0 4px 4px 4px;
|
|
85711
|
-
}
|
|
85712
|
-
.sd-document-section-block:hover .sd-document-section-block-info {
|
|
85713
|
-
display: flex;
|
|
85714
|
-
align-items: center;
|
|
85715
|
-
}
|
|
85716
|
-
.sd-document-section-block-info span {
|
|
85717
|
-
max-width: 100%;
|
|
85718
|
-
overflow: hidden;
|
|
85719
|
-
white-space: nowrap;
|
|
85720
|
-
text-overflow: ellipsis;
|
|
85721
|
-
}
|
|
85722
|
-
.sd-structured-content,
|
|
85723
|
-
.sd-structured-content-block {
|
|
85724
|
-
padding: 1px;
|
|
85725
|
-
box-sizing: border-box;
|
|
85726
|
-
border-radius: 4px;
|
|
85727
|
-
border: 1px solid #629be7;
|
|
85728
|
-
position: relative;
|
|
85729
|
-
}
|
|
85730
|
-
.sd-structured-content-draggable {
|
|
85731
|
-
font-size: 10px;
|
|
85732
|
-
align-items: center;
|
|
85733
|
-
justify-content: center;
|
|
85734
|
-
position: absolute;
|
|
85735
|
-
left: 2px;
|
|
85736
|
-
bottom: 100%;
|
|
85737
|
-
width: calc(100% - 4px);
|
|
85738
|
-
max-width: 110px;
|
|
85739
|
-
min-width: 0;
|
|
85740
|
-
height: 18px;
|
|
85741
|
-
padding: 0 4px;
|
|
85742
|
-
border: 1px solid #629be7;
|
|
85743
|
-
border-bottom: none;
|
|
85744
|
-
border-radius: 6px 6px 0 0;
|
|
85745
|
-
background-color: #629be7dd;
|
|
85746
|
-
z-index: 10;
|
|
85747
|
-
cursor: grab;
|
|
85748
|
-
display: none;
|
|
85749
|
-
}
|
|
85750
|
-
.sd-structured-content-draggable span {
|
|
85751
|
-
max-width: 100%;
|
|
85752
|
-
overflow: hidden;
|
|
85753
|
-
white-space: nowrap;
|
|
85754
|
-
text-overflow: ellipsis;
|
|
85755
|
-
}
|
|
85756
|
-
.sd-structured-content:hover .sd-structured-content-draggable,
|
|
85757
|
-
.sd-structured-content-block:hover .sd-structured-content-draggable {
|
|
85758
|
-
display: inline-flex;
|
|
85759
|
-
}
|
|
85760
|
-
`;
|
|
85761
|
-
let cachedStyleSheet = null;
|
|
85762
|
-
const defaultEditorStyles = editorStyles;
|
|
85763
|
-
let shadowEditorStyles = defaultEditorStyles;
|
|
85764
|
-
const supportsConstructableStylesheets = () => {
|
|
85765
|
-
const DocumentCtor = (
|
|
85766
|
-
/** @type {typeof Document | undefined} */
|
|
85767
|
-
globalThis.Document
|
|
85768
|
-
);
|
|
85769
|
-
const CSSStyleSheetCtor = (
|
|
85770
|
-
/** @type {typeof CSSStyleSheet | undefined} */
|
|
85771
|
-
globalThis.CSSStyleSheet
|
|
85772
|
-
);
|
|
85773
|
-
if (!DocumentCtor || !CSSStyleSheetCtor) return false;
|
|
85774
|
-
const documentPrototype = DocumentCtor.prototype;
|
|
85775
|
-
const styleSheetPrototype = CSSStyleSheetCtor.prototype;
|
|
85776
|
-
return !!documentPrototype && "adoptedStyleSheets" in documentPrototype && !!styleSheetPrototype && typeof styleSheetPrototype.replaceSync === "function";
|
|
85777
|
-
};
|
|
85778
|
-
const ensureStyleSheet = (root2) => {
|
|
85779
|
-
if (!root2 || !shadowEditorStyles) return;
|
|
85780
|
-
if (supportsConstructableStylesheets()) {
|
|
85781
|
-
if (!cachedStyleSheet) {
|
|
85782
|
-
const CSSStyleSheetCtor = (
|
|
85783
|
-
/** @type {typeof CSSStyleSheet} */
|
|
85784
|
-
globalThis.CSSStyleSheet
|
|
85785
|
-
);
|
|
85786
|
-
cachedStyleSheet = new CSSStyleSheetCtor();
|
|
85787
|
-
cachedStyleSheet.replaceSync(shadowEditorStyles);
|
|
85788
|
-
}
|
|
85789
|
-
const sheets = Array.isArray(root2.adoptedStyleSheets) ? root2.adoptedStyleSheets : [];
|
|
85790
|
-
if (!sheets.includes(cachedStyleSheet)) {
|
|
85791
|
-
root2.adoptedStyleSheets = [...sheets, cachedStyleSheet];
|
|
85792
|
-
}
|
|
85793
|
-
return;
|
|
85794
|
-
}
|
|
85795
|
-
const doc2 = (
|
|
85796
|
-
/** @type {Document | undefined} */
|
|
85797
|
-
globalThis.document
|
|
85798
|
-
);
|
|
85799
|
-
if (!doc2 || typeof root2.querySelector !== "function") return;
|
|
85800
|
-
if (!root2.querySelector("style[data-super-editor-styles]")) {
|
|
85801
|
-
const styleEl = doc2.createElement("style");
|
|
85802
|
-
styleEl.setAttribute("data-super-editor-styles", "");
|
|
85803
|
-
styleEl.textContent = shadowEditorStyles;
|
|
85804
|
-
root2.appendChild(styleEl);
|
|
85805
|
-
}
|
|
85806
|
-
};
|
|
85807
|
-
const ensureEditorShadowRoot = (hostElement) => {
|
|
85808
|
-
const doc2 = (
|
|
85809
|
-
/** @type {Document | undefined} */
|
|
85810
|
-
globalThis.document
|
|
85811
|
-
);
|
|
85812
|
-
if (!hostElement || !doc2 || typeof hostElement.attachShadow !== "function") {
|
|
85813
|
-
return { root: null, mount: null };
|
|
85814
|
-
}
|
|
85815
|
-
const root2 = hostElement.shadowRoot || hostElement.attachShadow({ mode: "open" });
|
|
85816
|
-
ensureStyleSheet(root2);
|
|
85817
|
-
let mount2 = root2.querySelector(".sd-editor-mount");
|
|
85818
|
-
if (!mount2) {
|
|
85819
|
-
mount2 = doc2.createElement("div");
|
|
85820
|
-
mount2.className = "sd-editor-mount";
|
|
85821
|
-
root2.appendChild(mount2);
|
|
85822
|
-
}
|
|
85823
|
-
return { root: root2, mount: mount2 };
|
|
85824
|
-
};
|
|
85825
84965
|
const _hoisted_1$1 = { class: "super-editor-container" };
|
|
85826
84966
|
const _hoisted_2 = {
|
|
85827
84967
|
key: 1,
|
|
@@ -85860,7 +85000,6 @@ const _sfc_main$1 = {
|
|
|
85860
85000
|
const message = useMessage();
|
|
85861
85001
|
const editorWrapper = ref$1(null);
|
|
85862
85002
|
const editorElem = ref$1(null);
|
|
85863
|
-
const editorMountPoint = shallowRef(null);
|
|
85864
85003
|
const fileSource = ref$1(null);
|
|
85865
85004
|
const popoverControls = reactive({
|
|
85866
85005
|
visible: false,
|
|
@@ -85949,15 +85088,9 @@ const _sfc_main$1 = {
|
|
|
85949
85088
|
return extensions;
|
|
85950
85089
|
};
|
|
85951
85090
|
const initEditor = async ({ content, media = {}, mediaFiles = {}, fonts = {} } = {}) => {
|
|
85952
|
-
if (!editorElem.value) return;
|
|
85953
|
-
const { mount: mount2 } = ensureEditorShadowRoot(editorElem.value);
|
|
85954
|
-
editorMountPoint.value = mount2;
|
|
85955
|
-
if (editorMountPoint.value) {
|
|
85956
|
-
editorMountPoint.value.innerHTML = "";
|
|
85957
|
-
}
|
|
85958
85091
|
editor.value = new Editor({
|
|
85959
85092
|
mode: "docx",
|
|
85960
|
-
element:
|
|
85093
|
+
element: editorElem.value,
|
|
85961
85094
|
fileSource: fileSource.value,
|
|
85962
85095
|
extensions: getExtensions(),
|
|
85963
85096
|
externalExtensions: props.options.externalExtensions,
|
|
@@ -86004,12 +85137,11 @@ const _sfc_main$1 = {
|
|
|
86004
85137
|
};
|
|
86005
85138
|
const handleSuperEditorClick = (event) => {
|
|
86006
85139
|
emit("editor-click", { editor: editor.value });
|
|
86007
|
-
|
|
85140
|
+
let pmElement = editorElem.value?.querySelector(".ProseMirror");
|
|
86008
85141
|
if (!pmElement || !editor.value) {
|
|
86009
85142
|
return;
|
|
86010
85143
|
}
|
|
86011
|
-
|
|
86012
|
-
const isInsideEditor = eventPath.includes(pmElement);
|
|
85144
|
+
let isInsideEditor = pmElement.contains(event.target);
|
|
86013
85145
|
if (!isInsideEditor && editor.value.isEditable) {
|
|
86014
85146
|
editor.value.view?.focus();
|
|
86015
85147
|
}
|
|
@@ -86022,9 +85154,7 @@ const _sfc_main$1 = {
|
|
|
86022
85154
|
if (props.options?.suppressSkeletonLoader || !props.options?.collaborationProvider) editorReady.value = true;
|
|
86023
85155
|
});
|
|
86024
85156
|
const handleMarginClick = (event) => {
|
|
86025
|
-
|
|
86026
|
-
const eventPath = event.composedPath?.() || [];
|
|
86027
|
-
if (pmElement && eventPath.includes(pmElement)) return;
|
|
85157
|
+
if (event.target.classList.contains("ProseMirror")) return;
|
|
86028
85158
|
onMarginClickCursorChange(event, editor.value);
|
|
86029
85159
|
};
|
|
86030
85160
|
const handleMarginChange = ({ side, value }) => {
|
|
@@ -86130,7 +85260,7 @@ const _sfc_main$1 = {
|
|
|
86130
85260
|
};
|
|
86131
85261
|
}
|
|
86132
85262
|
};
|
|
86133
|
-
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
85263
|
+
const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c36dd72"]]);
|
|
86134
85264
|
const _hoisted_1 = ["innerHTML"];
|
|
86135
85265
|
const _sfc_main = {
|
|
86136
85266
|
__name: "SuperInput",
|
|
@@ -86160,7 +85290,6 @@ const _sfc_main = {
|
|
|
86160
85290
|
const props = __props;
|
|
86161
85291
|
const editor = shallowRef();
|
|
86162
85292
|
const editorElem = ref$1(null);
|
|
86163
|
-
const editorMountPoint = shallowRef(null);
|
|
86164
85293
|
const isFocused = ref$1(false);
|
|
86165
85294
|
const onTransaction = ({ editor: editor2, transaction }) => {
|
|
86166
85295
|
const contents = editor2.getHTML();
|
|
@@ -86180,15 +85309,10 @@ const _sfc_main = {
|
|
|
86180
85309
|
props.options.onTransaction = onTransaction;
|
|
86181
85310
|
props.options.onFocus = onFocus;
|
|
86182
85311
|
props.options.onBlur = onBlur;
|
|
86183
|
-
const { mount: mount2 } = ensureEditorShadowRoot(editorElem.value);
|
|
86184
|
-
editorMountPoint.value = mount2;
|
|
86185
|
-
if (editorMountPoint.value) {
|
|
86186
|
-
editorMountPoint.value.innerHTML = "";
|
|
86187
|
-
}
|
|
86188
85312
|
editor.value = new Editor({
|
|
86189
85313
|
mode: "text",
|
|
86190
85314
|
content: document.getElementById("currentContent"),
|
|
86191
|
-
element:
|
|
85315
|
+
element: editorElem.value,
|
|
86192
85316
|
extensions: getRichTextExtensions(),
|
|
86193
85317
|
users: props.users,
|
|
86194
85318
|
...props.options
|
|
@@ -86227,35 +85351,77 @@ const _sfc_main = {
|
|
|
86227
85351
|
};
|
|
86228
85352
|
}
|
|
86229
85353
|
};
|
|
86230
|
-
const SuperInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
86231
|
-
const
|
|
86232
|
-
|
|
85354
|
+
const SuperInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4d5cff52"]]);
|
|
85355
|
+
const additionalHandlers = Object.freeze({
|
|
85356
|
+
"mc:AlternateContent": translator,
|
|
85357
|
+
"w:b": translator$12,
|
|
85358
|
+
"w:bidiVisual": translator$F,
|
|
85359
|
+
"w:bookmarkEnd": translator$1,
|
|
85360
|
+
"w:bookmarkStart": translator$2,
|
|
85361
|
+
"w:bottom": translator$s,
|
|
86233
85362
|
"w:br": translator$16,
|
|
86234
85363
|
"w:cantSplit": translator$T,
|
|
86235
85364
|
"w:cnfStyle": translator$S,
|
|
85365
|
+
"w:color": translator$_,
|
|
86236
85366
|
"w:divId": translator$R,
|
|
85367
|
+
"w:drawing": translator$4,
|
|
85368
|
+
"w:end": translator$q,
|
|
86237
85369
|
"w:gridAfter": translator$Q,
|
|
86238
85370
|
"w:gridBefore": translator$P,
|
|
85371
|
+
"w:gridCol": translator$b,
|
|
86239
85372
|
"w:hidden": translator$O,
|
|
85373
|
+
"w:highlight": translator$15,
|
|
86240
85374
|
"w:hyperlink": translator$7,
|
|
85375
|
+
"w:i": translator$11,
|
|
85376
|
+
"w:insideH": translator$o,
|
|
85377
|
+
"w:insideV": translator$n,
|
|
86241
85378
|
"w:jc": translator$N,
|
|
85379
|
+
"w:left": translator$m,
|
|
86242
85380
|
"w:p": translator$13,
|
|
86243
85381
|
"w:r": translator$U,
|
|
85382
|
+
"w:rFonts": translator$Z,
|
|
86244
85383
|
"w:rPr": translator$V,
|
|
85384
|
+
"w:rStyle": translator$Y,
|
|
85385
|
+
"w:right": translator$k,
|
|
86245
85386
|
"w:sdt": translator$3,
|
|
85387
|
+
"w:shd": translator$E,
|
|
85388
|
+
"w:start": translator$i,
|
|
85389
|
+
"w:strike": translator$$,
|
|
85390
|
+
"w:sz": translator$X,
|
|
85391
|
+
"w:szCs": translator$W,
|
|
86246
85392
|
"w:tab": translator$14,
|
|
85393
|
+
"w:tbl": translator$9,
|
|
85394
|
+
"w:tblBorders": translator$e,
|
|
85395
|
+
"w:tblCaption": translator$D,
|
|
85396
|
+
"w:tblCellMar": translator$d,
|
|
86247
85397
|
"w:tblCellSpacing": translator$M,
|
|
85398
|
+
"w:tblDescription": translator$C,
|
|
85399
|
+
"w:tblGrid": translator$a,
|
|
86248
85400
|
"w:tblHeader": translator$L,
|
|
85401
|
+
"w:tblInd": translator$B,
|
|
85402
|
+
"w:tblLayout": translator$A,
|
|
85403
|
+
"w:tblLook": translator$z,
|
|
85404
|
+
"w:tblOverlap": translator$y,
|
|
85405
|
+
"w:tblPr": translator$c,
|
|
85406
|
+
"w:tblStyle": translator$x,
|
|
85407
|
+
"w:tblStyleColBandSize": translator$w,
|
|
85408
|
+
"w:tblStyleRowBandSize": translator$v,
|
|
85409
|
+
"w:tblW": translator$u,
|
|
85410
|
+
"w:tblpPr": translator$t,
|
|
86249
85411
|
"w:tc": translator$8,
|
|
85412
|
+
"w:top": translator$g,
|
|
86250
85413
|
"w:tr": translator$G,
|
|
86251
85414
|
"w:trHeight": translator$K,
|
|
86252
85415
|
"w:trPr": translator$H,
|
|
85416
|
+
"w:u": translator$10,
|
|
86253
85417
|
"w:wAfter": translator$J,
|
|
86254
85418
|
"w:wBefore": translator$I,
|
|
86255
85419
|
"wp:anchor": translator$6,
|
|
86256
|
-
"wp:inline": translator$5
|
|
86257
|
-
|
|
86258
|
-
|
|
85420
|
+
"wp:inline": translator$5
|
|
85421
|
+
});
|
|
85422
|
+
const baseHandlers = {
|
|
85423
|
+
...runPropertyTranslators,
|
|
85424
|
+
...additionalHandlers
|
|
86259
85425
|
};
|
|
86260
85426
|
const registeredHandlers = Object.freeze(baseHandlers);
|
|
86261
85427
|
const Extensions = {
|