@ones-editor/editor 2.2.8-beta.3 → 2.2.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
CHANGED
|
@@ -25715,7 +25715,8 @@ var __publicField = (obj, key, value) => {
|
|
|
25715
25715
|
if (enableHorizontal) {
|
|
25716
25716
|
animateScrollTo(target, {
|
|
25717
25717
|
elementToScroll: getScrollContainer$1(target, { horizontal: true }),
|
|
25718
|
-
disableHorizontal: false
|
|
25718
|
+
disableHorizontal: false,
|
|
25719
|
+
speed: options.speed
|
|
25719
25720
|
});
|
|
25720
25721
|
}
|
|
25721
25722
|
const mobileClient = editor.options.componentsOptions.mobile;
|
|
@@ -25723,7 +25724,8 @@ var __publicField = (obj, key, value) => {
|
|
|
25723
25724
|
elementToScroll: (_a = options.elementToScroll) != null ? _a : getScrollContainer$1(target),
|
|
25724
25725
|
disableHorizontal: true,
|
|
25725
25726
|
verticalOffset: options == null ? void 0 : options.verticalOffset,
|
|
25726
|
-
getClientHeight: mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight : void 0
|
|
25727
|
+
getClientHeight: mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight : void 0,
|
|
25728
|
+
speed: options.speed
|
|
25727
25729
|
});
|
|
25728
25730
|
} else if (target.scrollIntoView) {
|
|
25729
25731
|
target.scrollIntoView({
|
|
@@ -88326,7 +88328,7 @@ ${data2.flowchartText}
|
|
|
88326
88328
|
}
|
|
88327
88329
|
}
|
|
88328
88330
|
});
|
|
88329
|
-
editor.version = "2.2.8-beta.
|
|
88331
|
+
editor.version = "2.2.8-beta.4";
|
|
88330
88332
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
88331
88333
|
window.setReauthFail = (fail) => {
|
|
88332
88334
|
window.isReauthError = fail;
|
|
@@ -88427,7 +88429,7 @@ ${data2.flowchartText}
|
|
|
88427
88429
|
});
|
|
88428
88430
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88429
88431
|
OnesEditorToolbar.register(editor);
|
|
88430
|
-
editor.version = "2.2.8-beta.
|
|
88432
|
+
editor.version = "2.2.8-beta.4";
|
|
88431
88433
|
return editor;
|
|
88432
88434
|
}
|
|
88433
88435
|
async function showDocVersions(editor, options, serverUrl) {
|