@ones-editor/editor 3.0.1-beta.13 → 3.0.1-beta.15
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
|
@@ -8948,7 +8948,7 @@ div.editor-root.compact.no-heading-collapse.no-block-menu > .editor-content {
|
|
|
8948
8948
|
display: none;
|
|
8949
8949
|
}
|
|
8950
8950
|
.error-info-bar[data-type=error] .content {
|
|
8951
|
-
background:
|
|
8951
|
+
background: #f6f7f9;
|
|
8952
8952
|
color: #575859;
|
|
8953
8953
|
}
|
|
8954
8954
|
.error-info-bar[data-type=warning] .content {
|
|
@@ -75480,6 +75480,11 @@ ${codeText}
|
|
|
75480
75480
|
});
|
|
75481
75481
|
});
|
|
75482
75482
|
__publicField(this, "handleClose", () => {
|
|
75483
|
+
const activeElem = document.activeElement;
|
|
75484
|
+
const tagName = activeElem ? activeElem.tagName.toLowerCase() : "";
|
|
75485
|
+
if (tagName === "input" || tagName === "textarea") {
|
|
75486
|
+
return;
|
|
75487
|
+
}
|
|
75483
75488
|
this.editor.focus();
|
|
75484
75489
|
});
|
|
75485
75490
|
__publicField(this, "handleSelectionChange", () => {
|
|
@@ -95963,7 +95968,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95963
95968
|
}
|
|
95964
95969
|
}
|
|
95965
95970
|
});
|
|
95966
|
-
editor.version = "3.0.1-beta.
|
|
95971
|
+
editor.version = "3.0.1-beta.15";
|
|
95967
95972
|
return editor;
|
|
95968
95973
|
}
|
|
95969
95974
|
function isDoc(doc2) {
|
|
@@ -96097,7 +96102,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96097
96102
|
OnesEditorDropTarget.register(editor);
|
|
96098
96103
|
OnesEditorTocProvider.register(editor);
|
|
96099
96104
|
OnesEditorExclusiveBlock.register(editor);
|
|
96100
|
-
editor.version = "3.0.1-beta.
|
|
96105
|
+
editor.version = "3.0.1-beta.15";
|
|
96101
96106
|
return editor;
|
|
96102
96107
|
}
|
|
96103
96108
|
async function showDocVersions(editor, options, serverUrl) {
|