@ones-editor/editor 2.1.1-beta.67 → 2.1.1-beta.68

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
@@ -425,7 +425,6 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-type
425
425
  height: 100vh;
426
426
  z-index: 9900;
427
427
  overflow: hidden;
428
- overscroll-behavior: contain;
429
428
  }
430
429
  div.editor-root > div.editor-content > div[data-type=editor-container] > div.container-blocks > div[data-type=editor-block][data-document-title] {
431
430
  font-size: 30px;
@@ -1201,7 +1200,6 @@ div.tippy-box button {
1201
1200
  max-width: 100%;
1202
1201
  border-radius: 8px 8px 0px 0px;
1203
1202
  box-shadow: 0px 0px 8px 0px rgba(45, 45, 46, 0.1019607843);
1204
- overscroll-behavior: contain;
1205
1203
  }
1206
1204
  div[data-command-bar-id=mobile-bottom-menu] .editor-command-bar {
1207
1205
  display: flex;
@@ -5845,7 +5843,7 @@ div[data-command-bar-id=mobile-bottom-menu] .mobile-menu-wrap.editor-mention .co
5845
5843
  div[data-command-bar-id=mobile-bottom-menu] .mobile-menu-wrap.editor-mention .command-item .mobile-item-wrap .mobile-item-content {
5846
5844
  height: 400px;
5847
5845
  overflow-y: auto;
5848
- overscroll-behavior: contain;
5846
+ overscroll-behavior: none;
5849
5847
  }
5850
5848
  div[data-command-bar-id=mobile-bottom-menu] .mobile-menu-wrap.editor-mention .command-item .mobile-item-wrap .mobile-item-content .mobile-item {
5851
5849
  display: flex;
@@ -6436,8 +6434,13 @@ div[data-command-bar-id=mobile-bottom-menu] .mobile-menu-wrap.editor-mention .co
6436
6434
  border-top: 1px solid #DFE1E5;
6437
6435
  }
6438
6436
  .command-m-bar > .editor-command-bar-root {
6437
+ scrollbar-width: none;
6439
6438
  padding: 0px;
6440
6439
  overflow-x: auto;
6440
+ overscroll-behavior: none;
6441
+ }
6442
+ .command-m-bar > .editor-command-bar-root::-webkit-scrollbar {
6443
+ display: none;
6441
6444
  }
6442
6445
  .command-m-bar > .editor-command-bar-root.overflowing::after {
6443
6446
  content: "";
@@ -6501,32 +6504,6 @@ div[data-command-bar-id=mobile-bottom-menu] .mobile-menu-wrap.editor-mention .co
6501
6504
  position: absolute;
6502
6505
  right: 20px;
6503
6506
  top: 20px;
6504
- }
6505
- .top-command-m-bar {
6506
- position: fixed;
6507
- z-index: 111;
6508
- top: 0px;
6509
- display: flex;
6510
- flex-direction: column;
6511
- align-items: center;
6512
- background-color: antiquewhite;
6513
- padding: 0 20px;
6514
- width: 100%;
6515
- }
6516
- .top-command-m-bar .command-m-container {
6517
- display: flex;
6518
- width: 100%;
6519
- }
6520
- .top-command-m-bar .command-m-container .command-item {
6521
- width: 80px;
6522
- height: 40px;
6523
- display: flex;
6524
- align-items: center;
6525
- justify-content: center;
6526
- }
6527
- html, body {
6528
- height: 100%;
6529
- overscroll-behavior: contain;
6530
6507
  }[data-command-bar-id=editor-toolbar] .editor-content div[data-type=editor-block] div[data-type=block-tools] div.select-handle,
6531
6508
  .editor-root .editor-content div[data-type=editor-block] div[data-type=block-tools] div.select-handle {
6532
6509
  position: absolute;
@@ -25139,6 +25116,7 @@ var __publicField = (obj, key, value) => {
25139
25116
  return rect.right > visibleRect.right || rect.left < visibleRect.left;
25140
25117
  }
25141
25118
  function scrollIntoView$1(editor, target, options) {
25119
+ var _a;
25142
25120
  if (!target) {
25143
25121
  return;
25144
25122
  }
@@ -25151,7 +25129,7 @@ var __publicField = (obj, key, value) => {
25151
25129
  });
25152
25130
  }
25153
25131
  animateScrollTo(target, {
25154
- elementToScroll: getScrollContainer$1(target),
25132
+ elementToScroll: (_a = options.elementToScroll) != null ? _a : getScrollContainer$1(target),
25155
25133
  disableHorizontal: true,
25156
25134
  verticalOffset: options == null ? void 0 : options.verticalOffset
25157
25135
  });
@@ -86772,7 +86750,7 @@ ${data2.flowchartText}
86772
86750
  }
86773
86751
  }
86774
86752
  });
86775
- editor.version = "2.1.1-beta.67";
86753
+ editor.version = "2.1.1-beta.68";
86776
86754
  if (Logger$2.level === LogLevel.DEBUG) {
86777
86755
  window.setReauthFail = (fail) => {
86778
86756
  window.isReauthError = fail;
@@ -86870,7 +86848,7 @@ ${data2.flowchartText}
86870
86848
  });
86871
86849
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
86872
86850
  OnesEditorToolbar.register(editor);
86873
- editor.version = "2.1.1-beta.67";
86851
+ editor.version = "2.1.1-beta.68";
86874
86852
  return editor;
86875
86853
  }
86876
86854
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.1.1-beta.67",
3
+ "version": "2.1.1-beta.68",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",