@ones-editor/editor 2.1.8-beta.4 → 2.1.8-beta.5
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +25 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5239,10 +5239,29 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5239
5239
|
border-radius: 0px;
|
|
5240
5240
|
pointer-events: none;
|
|
5241
5241
|
}
|
|
5242
|
-
.editor-root.history .
|
|
5242
|
+
.editor-root.history .mention-box.history-inserted-box {
|
|
5243
5243
|
position: relative;
|
|
5244
5244
|
}
|
|
5245
|
-
.editor-root.history .
|
|
5245
|
+
.editor-root.history .mention-box.history-inserted-box::before {
|
|
5246
|
+
content: var(--history-mask-identifier);
|
|
5247
|
+
color: transparent;
|
|
5248
|
+
position: absolute;
|
|
5249
|
+
top: 0px;
|
|
5250
|
+
bottom: 0px;
|
|
5251
|
+
left: 4px;
|
|
5252
|
+
right: 4px;
|
|
5253
|
+
background-color: var(--op-selected-color);
|
|
5254
|
+
border-radius: 0px;
|
|
5255
|
+
pointer-events: none;
|
|
5256
|
+
}
|
|
5257
|
+
.editor-root.history .mention-box.history-deleted-box {
|
|
5258
|
+
text-decoration: line-through;
|
|
5259
|
+
color: var(--primary-color);
|
|
5260
|
+
}
|
|
5261
|
+
.editor-root.history [data-type=editor-box]:not(.status-box, .file-box, .math-box, .mention-box).history-inserted-box, .editor-root.history [data-type=editor-box]:not(.status-box, .file-box, .math-box, .mention-box).history-deleted-box {
|
|
5262
|
+
position: relative;
|
|
5263
|
+
}
|
|
5264
|
+
.editor-root.history [data-type=editor-box]:not(.status-box, .file-box, .math-box, .mention-box).history-inserted-box::before, .editor-root.history [data-type=editor-box]:not(.status-box, .file-box, .math-box, .mention-box).history-deleted-box::before {
|
|
5246
5265
|
content: var(--history-mask-identifier);
|
|
5247
5266
|
color: transparent;
|
|
5248
5267
|
position: absolute;
|
|
@@ -75218,7 +75237,8 @@ ${content}
|
|
|
75218
75237
|
return this.applyGapToRect(maskRect);
|
|
75219
75238
|
}
|
|
75220
75239
|
logger$s.warn("unknown tooltip element", reference.tagName, reference.className);
|
|
75221
|
-
|
|
75240
|
+
const rect = reference.getBoundingClientRect();
|
|
75241
|
+
return this.applyGapToRect(rect);
|
|
75222
75242
|
}
|
|
75223
75243
|
}
|
|
75224
75244
|
const logger$r = getLogger("version-dialog");
|
|
@@ -83867,7 +83887,7 @@ ${data2.flowchartText}
|
|
|
83867
83887
|
}
|
|
83868
83888
|
}
|
|
83869
83889
|
});
|
|
83870
|
-
editor.version = "2.1.8-beta.
|
|
83890
|
+
editor.version = "2.1.8-beta.5";
|
|
83871
83891
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
83872
83892
|
window.setReauthFail = (fail) => {
|
|
83873
83893
|
window.isReauthError = fail;
|
|
@@ -83962,7 +83982,7 @@ ${data2.flowchartText}
|
|
|
83962
83982
|
if (!clientType.isMobile) {
|
|
83963
83983
|
OnesEditorToolbar.register(editor);
|
|
83964
83984
|
}
|
|
83965
|
-
editor.version = "2.1.8-beta.
|
|
83985
|
+
editor.version = "2.1.8-beta.5";
|
|
83966
83986
|
return editor;
|
|
83967
83987
|
}
|
|
83968
83988
|
async function showDocVersions(editor, options, serverUrl) {
|