@ones-editor/editor 2.1.8-beta.3 → 2.1.8-beta.4
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 +62 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4959,6 +4959,60 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
4959
4959
|
border-radius: 0px;
|
|
4960
4960
|
pointer-events: none;
|
|
4961
4961
|
}
|
|
4962
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-inserted-block {
|
|
4963
|
+
position: relative;
|
|
4964
|
+
}
|
|
4965
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-inserted-block::before {
|
|
4966
|
+
content: var(--history-mask-identifier);
|
|
4967
|
+
color: transparent;
|
|
4968
|
+
position: absolute;
|
|
4969
|
+
top: -5px;
|
|
4970
|
+
bottom: -5px;
|
|
4971
|
+
left: -5px;
|
|
4972
|
+
right: -5px;
|
|
4973
|
+
background-color: var(--op-selected-color);
|
|
4974
|
+
border-radius: 3px;
|
|
4975
|
+
pointer-events: none;
|
|
4976
|
+
right: calc(100% - 360px - 5px);
|
|
4977
|
+
}
|
|
4978
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-deleted-block {
|
|
4979
|
+
position: relative;
|
|
4980
|
+
}
|
|
4981
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-deleted-block::before {
|
|
4982
|
+
content: var(--history-mask-identifier);
|
|
4983
|
+
color: transparent;
|
|
4984
|
+
position: absolute;
|
|
4985
|
+
top: -5px;
|
|
4986
|
+
bottom: -5px;
|
|
4987
|
+
left: -5px;
|
|
4988
|
+
right: -5px;
|
|
4989
|
+
background-color: var(--op-selected-color);
|
|
4990
|
+
border-radius: 3px;
|
|
4991
|
+
pointer-events: none;
|
|
4992
|
+
mask-repeat: no-repeat;
|
|
4993
|
+
mask-position: center;
|
|
4994
|
+
mask-size: auto clamp(20px, 10%, 60px);
|
|
4995
|
+
mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
|
|
4996
|
+
background-color: var(--op-color);
|
|
4997
|
+
z-index: 1;
|
|
4998
|
+
right: calc(100% - 360px - 5px);
|
|
4999
|
+
}
|
|
5000
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-deleted-block {
|
|
5001
|
+
position: relative;
|
|
5002
|
+
}
|
|
5003
|
+
.editor-root.history [data-block-type=embed][data-embed-type=office].history-deleted-block::after {
|
|
5004
|
+
content: var(--history-mask-identifier);
|
|
5005
|
+
color: transparent;
|
|
5006
|
+
position: absolute;
|
|
5007
|
+
top: -5px;
|
|
5008
|
+
bottom: -5px;
|
|
5009
|
+
left: -5px;
|
|
5010
|
+
right: -5px;
|
|
5011
|
+
background-color: var(--op-selected-color);
|
|
5012
|
+
border-radius: 3px;
|
|
5013
|
+
pointer-events: none;
|
|
5014
|
+
right: calc(100% - 360px - 5px);
|
|
5015
|
+
}
|
|
4962
5016
|
.editor-root.history .list-block.history-inserted-block {
|
|
4963
5017
|
position: relative;
|
|
4964
5018
|
}
|
|
@@ -5067,10 +5121,10 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5067
5121
|
border-radius: 3px;
|
|
5068
5122
|
pointer-events: none;
|
|
5069
5123
|
}
|
|
5070
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-inserted-block {
|
|
5124
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-inserted-block {
|
|
5071
5125
|
position: relative;
|
|
5072
5126
|
}
|
|
5073
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-inserted-block::before {
|
|
5127
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-inserted-block::before {
|
|
5074
5128
|
content: var(--history-mask-identifier);
|
|
5075
5129
|
color: transparent;
|
|
5076
5130
|
position: absolute;
|
|
@@ -5082,10 +5136,10 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5082
5136
|
border-radius: 3px;
|
|
5083
5137
|
pointer-events: none;
|
|
5084
5138
|
}
|
|
5085
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-deleted-block {
|
|
5139
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-deleted-block {
|
|
5086
5140
|
position: relative;
|
|
5087
5141
|
}
|
|
5088
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-deleted-block::before {
|
|
5142
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-deleted-block::before {
|
|
5089
5143
|
content: var(--history-mask-identifier);
|
|
5090
5144
|
color: transparent;
|
|
5091
5145
|
position: absolute;
|
|
@@ -5103,10 +5157,10 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5103
5157
|
background-color: var(--op-color);
|
|
5104
5158
|
z-index: 1;
|
|
5105
5159
|
}
|
|
5106
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-deleted-block {
|
|
5160
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-deleted-block {
|
|
5107
5161
|
position: relative;
|
|
5108
5162
|
}
|
|
5109
|
-
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], .table-block, .layout-block).history-deleted-block::after {
|
|
5163
|
+
.editor-root.history [data-type=editor-block]:not(.list-block, .text-block, [data-style-quoted=true], [data-block-type=embed][data-embed-type=office], .table-block, .layout-block).history-deleted-block::after {
|
|
5110
5164
|
content: var(--history-mask-identifier);
|
|
5111
5165
|
color: transparent;
|
|
5112
5166
|
position: absolute;
|
|
@@ -83813,7 +83867,7 @@ ${data2.flowchartText}
|
|
|
83813
83867
|
}
|
|
83814
83868
|
}
|
|
83815
83869
|
});
|
|
83816
|
-
editor.version = "2.1.8-beta.
|
|
83870
|
+
editor.version = "2.1.8-beta.4";
|
|
83817
83871
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
83818
83872
|
window.setReauthFail = (fail) => {
|
|
83819
83873
|
window.isReauthError = fail;
|
|
@@ -83908,7 +83962,7 @@ ${data2.flowchartText}
|
|
|
83908
83962
|
if (!clientType.isMobile) {
|
|
83909
83963
|
OnesEditorToolbar.register(editor);
|
|
83910
83964
|
}
|
|
83911
|
-
editor.version = "2.1.8-beta.
|
|
83965
|
+
editor.version = "2.1.8-beta.4";
|
|
83912
83966
|
return editor;
|
|
83913
83967
|
}
|
|
83914
83968
|
async function showDocVersions(editor, options, serverUrl) {
|