@ones-editor/editor 2.8.11 → 2.8.13
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/index.js
CHANGED
|
@@ -5439,6 +5439,7 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
|
|
|
5439
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 {
|
|
5440
5440
|
display: -webkit-box;
|
|
5441
5441
|
overflow: hidden;
|
|
5442
|
+
word-break: break-all;
|
|
5442
5443
|
-webkit-line-clamp: 1;
|
|
5443
5444
|
-webkit-box-orient: vertical;
|
|
5444
5445
|
}
|
|
@@ -8010,6 +8011,7 @@ div.editor-root div.editor-content div[data-block-type=embed] > .embed-mask::aft
|
|
|
8010
8011
|
display: flex;
|
|
8011
8012
|
justify-content: center;
|
|
8012
8013
|
align-items: center;
|
|
8014
|
+
color: transparent;
|
|
8013
8015
|
width: 20px;
|
|
8014
8016
|
height: 20px;
|
|
8015
8017
|
border-radius: 3px;
|
|
@@ -8021,6 +8023,7 @@ div.editor-root div.editor-content div[data-block-type=embed] > .embed-mask::aft
|
|
|
8021
8023
|
cursor: pointer;
|
|
8022
8024
|
}
|
|
8023
8025
|
.editor-root [data-type=editor-container].root div[data-type=editor-block].layout-block .creation-dot-button:hover {
|
|
8026
|
+
color: white;
|
|
8024
8027
|
background: var(--background-default-o-color-bg-primary, #0064ff);
|
|
8025
8028
|
/* o-shadow-3 */
|
|
8026
8029
|
box-shadow: 0px 0px 1px 0px rgba(45, 45, 46, 0.2), 0px 8px 16px -4px rgba(45, 45, 46, 0.15);
|
|
@@ -40499,7 +40502,7 @@ ${codeText}
|
|
|
40499
40502
|
const NextIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M5.76573 4.17763L9.58809 7.99999L5.76573 11.8209" stroke="currentColor"/>\n</svg>\n';
|
|
40500
40503
|
const MoreIcon$1 = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="3" cy="8" r="0.5" fill="currentColor" stroke="currentColor"/>\n<circle cx="8" cy="8" r="0.5" fill="currentColor" stroke="currentColor"/>\n<circle cx="13" cy="8" r="0.5" fill="currentColor" stroke="currentColor"/>\n</svg>';
|
|
40501
40504
|
const TextColorIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.5 14.5L8 1.5L13.5 14.5" stroke="currentColor" stroke-linejoin="round"/>\n<path d="M4.5 9.5H11.5" stroke="currentColor"/>\n</svg>';
|
|
40502
|
-
const AddIcon = '<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6.005 5.99501L5.99501 1M6.005 5.99501H11M6.005 5.99501V11M6.005 5.99501L1 6.005" stroke="
|
|
40505
|
+
const AddIcon = '<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6.005 5.99501L5.99501 1M6.005 5.99501H11M6.005 5.99501V11M6.005 5.99501L1 6.005" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>\n</svg>\n';
|
|
40503
40506
|
const ArrowDownIcon$1 = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M4.17763 5.76573L7.99999 9.58809L11.8209 5.76573" stroke="currentColor"/>\n</svg>\n';
|
|
40504
40507
|
const arrowUp = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M4.17763 10.2343L7.99999 6.41191L11.8209 10.2343" stroke="currentColor"/>\n</svg>\n';
|
|
40505
40508
|
const arrowLeft = '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n<path d="M10.2343 4.17763L6.41191 7.99999L10.2343 11.8209" stroke="currentColor"/>\n</svg>\n';
|
|
@@ -43414,6 +43417,7 @@ ${codeText}
|
|
|
43414
43417
|
}
|
|
43415
43418
|
setCurrentButtonColor(colors) {
|
|
43416
43419
|
setColorButtonColor(this.element, colors);
|
|
43420
|
+
this.latestColors = colors;
|
|
43417
43421
|
}
|
|
43418
43422
|
}
|
|
43419
43423
|
const input = "";
|
|
@@ -71363,7 +71367,7 @@ ${codeText}
|
|
|
71363
71367
|
elem.remove();
|
|
71364
71368
|
});
|
|
71365
71369
|
editor.domEvents.removeEventListener(getBlockContent(tableBlock), "scroll", handleTableScroll);
|
|
71366
|
-
editor.
|
|
71370
|
+
editor.removeListener("afterClearSelection", handleAfterClearSelection);
|
|
71367
71371
|
}
|
|
71368
71372
|
function getTopBorderHeight(editor, tableBlock) {
|
|
71369
71373
|
assert(logger$13, isTableBlock(tableBlock), "invalid table block");
|
|
@@ -92603,7 +92607,7 @@ ${data2.plantumlText}
|
|
|
92603
92607
|
}
|
|
92604
92608
|
}
|
|
92605
92609
|
});
|
|
92606
|
-
editor.version = "2.8.
|
|
92610
|
+
editor.version = "2.8.13";
|
|
92607
92611
|
return editor;
|
|
92608
92612
|
}
|
|
92609
92613
|
function isDoc(doc2) {
|
|
@@ -92716,7 +92720,7 @@ ${data2.plantumlText}
|
|
|
92716
92720
|
}
|
|
92717
92721
|
});
|
|
92718
92722
|
OnesEditorToolbar.register(editor);
|
|
92719
|
-
editor.version = "2.8.
|
|
92723
|
+
editor.version = "2.8.13";
|
|
92720
92724
|
return editor;
|
|
92721
92725
|
}
|
|
92722
92726
|
async function showDocVersions(editor, options, serverUrl) {
|