@ones-editor/editor 2.8.8 → 2.8.9-beta.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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +21 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5405,12 +5405,16 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
|
|
|
5405
5405
|
border-radius: 6px;
|
|
5406
5406
|
border: 1px solid #DFE1E5;
|
|
5407
5407
|
padding: 10px;
|
|
5408
|
+
position: relative;
|
|
5408
5409
|
}
|
|
5409
5410
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root::before {
|
|
5410
5411
|
border-radius: 3px;
|
|
5411
5412
|
}
|
|
5412
5413
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root:hover {
|
|
5413
|
-
background-color:
|
|
5414
|
+
background-color: rgb(247, 248, 250);
|
|
5415
|
+
}
|
|
5416
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root:hover .file-actions {
|
|
5417
|
+
background-color: rgb(247, 248, 250);
|
|
5414
5418
|
}
|
|
5415
5419
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root:hover .file-actions button {
|
|
5416
5420
|
display: flex;
|
|
@@ -5429,13 +5433,17 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
|
|
|
5429
5433
|
display: flex;
|
|
5430
5434
|
flex-direction: row;
|
|
5431
5435
|
align-items: center;
|
|
5432
|
-
white-space: nowrap;
|
|
5433
5436
|
font-size: 14px;
|
|
5434
5437
|
margin-top: 2px;
|
|
5435
5438
|
}
|
|
5436
5439
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-name-pre {
|
|
5437
|
-
|
|
5440
|
+
display: -webkit-box;
|
|
5438
5441
|
overflow: hidden;
|
|
5442
|
+
-webkit-line-clamp: 1;
|
|
5443
|
+
-webkit-box-orient: vertical;
|
|
5444
|
+
}
|
|
5445
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-name-suf {
|
|
5446
|
+
white-space: nowrap;
|
|
5439
5447
|
}
|
|
5440
5448
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-info {
|
|
5441
5449
|
display: flex;
|
|
@@ -5462,8 +5470,13 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
|
|
|
5462
5470
|
flex-shrink: 0;
|
|
5463
5471
|
}
|
|
5464
5472
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions {
|
|
5465
|
-
|
|
5473
|
+
position: absolute;
|
|
5474
|
+
top: 0;
|
|
5475
|
+
right: 0;
|
|
5476
|
+
bottom: 0;
|
|
5466
5477
|
display: flex;
|
|
5478
|
+
align-items: center;
|
|
5479
|
+
justify-content: center;
|
|
5467
5480
|
column-gap: 15px;
|
|
5468
5481
|
margin-right: 10px;
|
|
5469
5482
|
margin-left: 5px;
|
|
@@ -78867,10 +78880,11 @@ ${docStr}
|
|
|
78867
78880
|
const nameElement = createElement("div", ["file-name"], detail);
|
|
78868
78881
|
if (afterIndex > 0) {
|
|
78869
78882
|
createElement("span", ["file-name-pre"], nameElement, fileName.slice(0, afterIndex));
|
|
78870
|
-
createElement("span", [], nameElement, fileName.slice(afterIndex));
|
|
78883
|
+
createElement("span", ["file-name-suf"], nameElement, fileName.slice(afterIndex));
|
|
78871
78884
|
} else {
|
|
78872
78885
|
nameElement.textContent = fileName;
|
|
78873
78886
|
}
|
|
78887
|
+
nameElement.title = fileName;
|
|
78874
78888
|
const infos = createElement("div", ["file-info"], detail);
|
|
78875
78889
|
if (creator) {
|
|
78876
78890
|
createElement("div", ["file-creator"], infos, creator);
|
|
@@ -92579,7 +92593,7 @@ ${data2.plantumlText}
|
|
|
92579
92593
|
}
|
|
92580
92594
|
}
|
|
92581
92595
|
});
|
|
92582
|
-
editor.version = "2.8.
|
|
92596
|
+
editor.version = "2.8.9-beta.1";
|
|
92583
92597
|
return editor;
|
|
92584
92598
|
}
|
|
92585
92599
|
function isDoc(doc2) {
|
|
@@ -92692,7 +92706,7 @@ ${data2.plantumlText}
|
|
|
92692
92706
|
}
|
|
92693
92707
|
});
|
|
92694
92708
|
OnesEditorToolbar.register(editor);
|
|
92695
|
-
editor.version = "2.8.
|
|
92709
|
+
editor.version = "2.8.9-beta.1";
|
|
92696
92710
|
return editor;
|
|
92697
92711
|
}
|
|
92698
92712
|
async function showDocVersions(editor, options, serverUrl) {
|