@ones-editor/editor 2.1.8-beta.5 → 2.1.8-beta.6

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.
@@ -1,4 +1,4 @@
1
- import { DocBlock, DocBlockDelta, DocBlockText, DocBlockTextActions, DocObject, EventCallbacks, OnesEditorDoc, OnesEditorDocCallbacks, OnesEditorUser, RemoteUsers, UploadResourceResult, OnesEditorDocServerMeta, OnesEditorDocServer } from '../../../../@ones-editor/core';
1
+ import { DocBlock, DocBlockDelta, DocBlockText, DocBlockTextActions, DocObject, EventCallbacks, OnesEditorDoc, OnesEditorDocCallbacks, OnesEditorUser, UploadResourceResult, OnesEditorDocServerMeta, OnesEditorDocServer } from '../../../../@ones-editor/core';
2
2
  import { HistoryUser } from '../types';
3
3
  export default class HistoryDoc extends EventCallbacks<OnesEditorDocCallbacks> implements OnesEditorDoc {
4
4
  private server;
@@ -23,7 +23,7 @@ export default class HistoryDoc extends EventCallbacks<OnesEditorDocCallbacks> i
23
23
  request<T>(): Promise<T>;
24
24
  broadcastMessage(): void;
25
25
  getUser(): OnesEditorUser;
26
- getRemoteUsers(): RemoteUsers;
26
+ getRemoteUsers(): import("@ones-editor/core").OnesEditorRemoteUsers;
27
27
  destroy(): void;
28
28
  private transformBlockIndex;
29
29
  onDeleteBlock(containerId: string, blockIndex: number, user: HistoryUser): void;
@@ -1,5 +1,4 @@
1
1
  import type { OnesEditorRemoteUsers } from '../../../../@ones-editor/core';
2
2
  import { HistoryUser, UserColors } from '../types';
3
3
  export * from './block-text';
4
- export declare function removeOpacityFromHexColor(hexColor: string): string;
5
4
  export declare function getUserColors(users: OnesEditorRemoteUsers, user: HistoryUser): UserColors;
@@ -12,7 +12,6 @@ export declare class OnesEditorVersionsDialog implements OnesEditorCustom {
12
12
  get versionHelper(): import("@ones-editor/core").OnesEditorDocVersionHelper;
13
13
  get editor(): OnesEditor | null;
14
14
  constructor(server: OnesEditorDocServer, provider: OnesEditorVersionsProvider);
15
- private handleBeforeShowTooltip;
16
15
  private handleRevert;
17
16
  private handleSelectVersion;
18
17
  private handleCompareWithVersion;
package/dist/index.js CHANGED
@@ -267,7 +267,7 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-type
267
267
  width: 3px;
268
268
  left: -3px;
269
269
  /* overflow: hidden; */
270
- border-right: var(--cursor-color) 1px solid;
270
+ border-right: var(--cursor-color) 2px solid;
271
271
  text-overflow: clip;
272
272
  display: inline-block;
273
273
  /* height: 100%; */
@@ -283,17 +283,16 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-type
283
283
  div.editor-root div.editor-content div[data-type=editor-container] div[data-type=editor-block] div[data-type=block-content] > span[data-type=editor-insertion].remote-cursor-insertion > span[data-type=insertion-content] span[data-cursor-name]:hover::before, div.editor-root div.editor-content div[data-type=editor-container] div[data-type=editor-block] div[data-type=block-content] > span[data-type=editor-insertion].remote-cursor-insertion.active > span[data-type=insertion-content] span[data-cursor-name]::before {
284
284
  content: attr(data-cursor-name);
285
285
  position: absolute;
286
- top: -12px;
287
- height: 1.1em;
286
+ top: -32px;
288
287
  background-color: var(--cursor-color);
289
288
  z-index: 27;
290
- left: 0px;
289
+ left: 2px;
291
290
  color: #fff;
292
291
  white-space: nowrap;
293
292
  font-size: 12px;
294
- display: flex;
295
- align-items: center;
296
- padding: 1px 4px;
293
+ padding: 0px 5px;
294
+ border-radius: 3px;
295
+ line-height: 30px;
297
296
  }
298
297
  div.editor-root div.editor-content div[data-type=editor-container] div[data-type=editor-block] div[data-type=block-content] span[data-type=box-content] {
299
298
  /* background-color: bisque; */
@@ -4803,10 +4802,28 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4803
4802
  .editor-root.history .editor-content {
4804
4803
  padding: 30px 75px;
4805
4804
  }
4806
- .editor-root.history .table-block.history-inserted-block table, .editor-root.history .table-block.history-updated-block table {
4805
+ .editor-root.history .table-block.history-inserted-block table {
4806
+ position: relative;
4807
+ }
4808
+ .editor-root.history .table-block.history-inserted-block table::before {
4809
+ content: var(--history-mask-identifier);
4810
+ color: transparent;
4811
+ position: absolute;
4812
+ top: -5px;
4813
+ bottom: -5px;
4814
+ left: -5px;
4815
+ right: -5px;
4816
+ background-color: var(--op-selected-color);
4817
+ border-radius: 3px;
4818
+ pointer-events: none;
4819
+ }
4820
+ .editor-root.history .table-block.history-inserted-block table .child {
4821
+ pointer-events: none;
4822
+ }
4823
+ .editor-root.history .table-block.history-updated-block table {
4807
4824
  position: relative;
4808
4825
  }
4809
- .editor-root.history .table-block.history-inserted-block table::before, .editor-root.history .table-block.history-updated-block table::before {
4826
+ .editor-root.history .table-block.history-updated-block table::before {
4810
4827
  content: var(--history-mask-identifier);
4811
4828
  color: transparent;
4812
4829
  position: absolute;
@@ -4818,7 +4835,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4818
4835
  border-radius: 3px;
4819
4836
  pointer-events: none;
4820
4837
  }
4821
- .editor-root.history .table-block.history-inserted-block table .child, .editor-root.history .table-block.history-updated-block table .child {
4838
+ .editor-root.history .table-block.history-updated-block table .child:not(.history-inserted-container) {
4822
4839
  pointer-events: none;
4823
4840
  }
4824
4841
  .editor-root.history .table-block.history-deleted-block table {
@@ -4838,6 +4855,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4838
4855
  mask-repeat: no-repeat;
4839
4856
  mask-position: center;
4840
4857
  mask-size: auto clamp(20px, 10%, 60px);
4858
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
4841
4859
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
4842
4860
  background-color: var(--op-color);
4843
4861
  z-index: 1;
@@ -4910,6 +4928,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4910
4928
  mask-repeat: no-repeat;
4911
4929
  mask-position: center;
4912
4930
  mask-size: auto clamp(20px, 10%, 60px);
4931
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
4913
4932
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
4914
4933
  background-color: var(--op-color);
4915
4934
  z-index: 1;
@@ -4944,10 +4963,10 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4944
4963
  border-radius: 3px;
4945
4964
  pointer-events: none;
4946
4965
  }
4947
- .editor-root.history .layout-block .history-inserted-container {
4966
+ .editor-root.history .layout-block.history-updated-block .history-inserted-container {
4948
4967
  position: relative;
4949
4968
  }
4950
- .editor-root.history .layout-block .history-inserted-container::before {
4969
+ .editor-root.history .layout-block.history-updated-block .history-inserted-container::before {
4951
4970
  content: var(--history-mask-identifier);
4952
4971
  color: transparent;
4953
4972
  position: absolute;
@@ -4956,7 +4975,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4956
4975
  left: 0;
4957
4976
  right: 0;
4958
4977
  background-color: var(--op-selected-color);
4959
- border-radius: 0px;
4978
+ border-radius: 3px;
4960
4979
  pointer-events: none;
4961
4980
  }
4962
4981
  .editor-root.history [data-block-type=embed][data-embed-type=office].history-inserted-block {
@@ -4992,6 +5011,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
4992
5011
  mask-repeat: no-repeat;
4993
5012
  mask-position: center;
4994
5013
  mask-size: auto clamp(20px, 10%, 60px);
5014
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
4995
5015
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
4996
5016
  background-color: var(--op-color);
4997
5017
  z-index: 1;
@@ -5045,6 +5065,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
5045
5065
  mask-repeat: no-repeat;
5046
5066
  mask-position: center;
5047
5067
  mask-size: auto clamp(20px, 10%, 60px);
5068
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
5048
5069
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
5049
5070
  background-color: var(--op-color);
5050
5071
  z-index: 1;
@@ -5100,6 +5121,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
5100
5121
  mask-repeat: no-repeat;
5101
5122
  mask-position: center;
5102
5123
  mask-size: auto clamp(20px, 10%, 60px);
5124
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
5103
5125
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
5104
5126
  background-color: var(--op-color);
5105
5127
  z-index: 1;
@@ -5153,6 +5175,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
5153
5175
  mask-repeat: no-repeat;
5154
5176
  mask-position: center;
5155
5177
  mask-size: auto clamp(20px, 10%, 60px);
5178
+ -webkit-mask-size: auto clamp(20px, 10%, 60px);
5156
5179
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwLjAzMjggMjkuNjIzMkw0OC41NjE2IDExLjA2MTZNMzAuMDMyOCAyOS42MjMyTDQ4LjU2MTYgNDguMTg0N00zMC4wMzI4IDI5LjYyMzJMMTEuNDM4NCA0OC4xODQ3TTMwLjAzMjggMjkuNjIzMkwxMS40Mzg0IDExLjA2MTYiIHN0cm9rZT0iI0IyMUI1NyIgc3Ryb2tlLXdpZHRoPSI1IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
5157
5180
  background-color: var(--op-color);
5158
5181
  z-index: 1;
@@ -5302,13 +5325,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
5302
5325
  .editor-root.history .history-inserted-block .history-inserted-box,
5303
5326
  .editor-root.history .history-inserted-block .history-deleted-box,
5304
5327
  .editor-root.history .history-inserted-block .history-deleted-block,
5305
- .editor-root.history .history-inserted-block .history-inserted-block,
5306
- .editor-root.history .history-updated-block .history-inserted-container,
5307
- .editor-root.history .history-updated-block .history-inserted-text,
5308
- .editor-root.history .history-updated-block .history-inserted-box,
5309
- .editor-root.history .history-updated-block .history-deleted-box,
5310
- .editor-root.history .history-updated-block .history-deleted-block,
5311
- .editor-root.history .history-updated-block .history-inserted-block {
5328
+ .editor-root.history .history-inserted-block .history-inserted-block {
5312
5329
  background-color: unset;
5313
5330
  pointer-events: none;
5314
5331
  }
@@ -5346,19 +5363,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
5346
5363
  .editor-root.history .history-inserted-block .history-deleted-block::before,
5347
5364
  .editor-root.history .history-inserted-block .history-deleted-block::after,
5348
5365
  .editor-root.history .history-inserted-block .history-inserted-block::before,
5349
- .editor-root.history .history-inserted-block .history-inserted-block::after,
5350
- .editor-root.history .history-updated-block .history-inserted-container::before,
5351
- .editor-root.history .history-updated-block .history-inserted-container::after,
5352
- .editor-root.history .history-updated-block .history-inserted-text::before,
5353
- .editor-root.history .history-updated-block .history-inserted-text::after,
5354
- .editor-root.history .history-updated-block .history-inserted-box::before,
5355
- .editor-root.history .history-updated-block .history-inserted-box::after,
5356
- .editor-root.history .history-updated-block .history-deleted-box::before,
5357
- .editor-root.history .history-updated-block .history-deleted-box::after,
5358
- .editor-root.history .history-updated-block .history-deleted-block::before,
5359
- .editor-root.history .history-updated-block .history-deleted-block::after,
5360
- .editor-root.history .history-updated-block .history-inserted-block::before,
5361
- .editor-root.history .history-updated-block .history-inserted-block::after {
5366
+ .editor-root.history .history-inserted-block .history-inserted-block::after {
5362
5367
  display: none;
5363
5368
  }
5364
5369
  .version-dialog {
@@ -29773,7 +29778,7 @@ ${codeText}
29773
29778
  logger$2O.debug("create editor");
29774
29779
  this.setMaxListeners(100);
29775
29780
  this.options = {
29776
- colors: (_a = optionalOptions == null ? void 0 : optionalOptions.colors) != null ? _a : ["#0064FF", "#EB3723", "#F59300", "#00A865", "#F25A0A", "#70A310", "#009CAD", "#0990D9", "#8851ED", "#D62069"],
29781
+ colors: (_a = optionalOptions == null ? void 0 : optionalOptions.colors) != null ? _a : ["#B21B57", "#008796", "#7241CC", "#CC4C08", "#5D8F00", "#BD2C1C", "#D17D00"],
29777
29782
  componentsOptions: (_c = (_b = optionalOptions == null ? void 0 : optionalOptions.components) == null ? void 0 : _b.options) != null ? _c : {},
29778
29783
  scrollContainer: optionalOptions == null ? void 0 : optionalOptions.scrollContainer,
29779
29784
  enableComments: (_d = optionalOptions == null ? void 0 : optionalOptions.enableComments) != null ? _d : true,
@@ -30141,18 +30146,7 @@ ${codeText}
30141
30146
  });
30142
30147
  return allCommands;
30143
30148
  }
30144
- const DefaultColors = [
30145
- "#0064FF",
30146
- "#EB3723",
30147
- "#F59300",
30148
- "#00A865",
30149
- "#F25A0A",
30150
- "#70A310",
30151
- "#009CAD",
30152
- "#0990D9",
30153
- "#8851ED",
30154
- "#D62069"
30155
- ];
30149
+ const DefaultColors = ["#B21B57", "#008796", "#7241CC", "#CC4C08", "#5D8F00", "#BD2C1C", "#D17D00"];
30156
30150
  class RemoteUsers extends tinyTypedEmitter.TypedEmitter {
30157
30151
  constructor(colors) {
30158
30152
  super();
@@ -74442,8 +74436,7 @@ ${content}
74442
74436
  };
74443
74437
  }
74444
74438
  getRemoteUsers() {
74445
- const colors = ["#B21B5733", "#00879633", "#7241CC33", "#CC4C0833", "#5D8F0033", "#BD2C1C33", "#D17D0033"];
74446
- return new RemoteUsers(colors);
74439
+ return this.server.getRemoteUsers();
74447
74440
  }
74448
74441
  destroy() {
74449
74442
  this.clearCallbacks();
@@ -74557,18 +74550,15 @@ ${content}
74557
74550
  name: user.displayName
74558
74551
  });
74559
74552
  }
74560
- function removeOpacityFromHexColor(hexColor) {
74561
- if (hexColor.length === 9) {
74562
- return hexColor.slice(0, 7);
74563
- }
74564
- return hexColor;
74553
+ function addOpacity(color, opacity) {
74554
+ return color + Math.round(opacity * 255).toString(16).padStart(2, "0");
74565
74555
  }
74566
74556
  function getUserColors(users, user) {
74567
74557
  const { userId } = user;
74568
74558
  const types2 = ["flag", "selection"];
74569
74559
  return types2.reduce((acc, cur) => {
74570
74560
  const color = users.getFixedUserColor(userId, cur);
74571
- acc[cur] = cur === "flag" ? removeOpacityFromHexColor(color) : color;
74561
+ acc[cur] = cur === "selection" ? addOpacity(color, 0.2) : color;
74572
74562
  return acc;
74573
74563
  }, {});
74574
74564
  }
@@ -75251,10 +75241,6 @@ ${content}
75251
75241
  __publicField(this, "provider");
75252
75242
  __publicField(this, "versions", []);
75253
75243
  __publicField(this, "components");
75254
- __publicField(this, "handleBeforeShowTooltip", (instance) => {
75255
- console.log(instance);
75256
- return false;
75257
- });
75258
75244
  __publicField(this, "handleRevert", async (ver) => {
75259
75245
  var _a, _b, _c;
75260
75246
  assert(logger$r, this.versionList, "The versionList did not render");
@@ -75335,7 +75321,7 @@ ${content}
75335
75321
  this.server = server;
75336
75322
  this.provider = provider;
75337
75323
  const root2 = createElement("div", ["version-dialog"], null);
75338
- root2.style.setProperty("--history-mask-identifier", JSON.stringify(HISTORY_MASK_IDENTIFIER));
75324
+ root2.style.setProperty("--history-mask-identifier", `"${HISTORY_MASK_IDENTIFIER}"`);
75339
75325
  const mainContainer = createElement("div", ["version-viewer"], root2);
75340
75326
  const infoHeader = new VersionInfoHeader(mainContainer, {
75341
75327
  onCompareWithVersion: this.handleCompareWithVersion,
@@ -83777,16 +83763,13 @@ ${data2.flowchartText}
83777
83763
  ...options.shortcuts || []
83778
83764
  ],
83779
83765
  colors: [
83780
- "#0064FF",
83781
- "#EB3723",
83782
- "#F59300",
83783
- "#00A865",
83784
- "#F25A0A",
83785
- "#70A310",
83786
- "#009CAD",
83787
- "#0990D9",
83788
- "#8851ED",
83789
- "#D62069"
83766
+ "#B21B57",
83767
+ "#008796",
83768
+ "#7241CC",
83769
+ "#CC4C08",
83770
+ "#5D8F00",
83771
+ "#BD2C1C",
83772
+ "#D17D00"
83790
83773
  ]
83791
83774
  });
83792
83775
  editor.editorCommandProviders.registerCommandProvider(new TextCommandProvider(editor));
@@ -83887,7 +83870,7 @@ ${data2.flowchartText}
83887
83870
  }
83888
83871
  }
83889
83872
  });
83890
- editor.version = "2.1.8-beta.5";
83873
+ editor.version = "2.1.8-beta.6";
83891
83874
  if (Logger$2.level === LogLevel.DEBUG) {
83892
83875
  window.setReauthFail = (fail) => {
83893
83876
  window.isReauthError = fail;
@@ -83982,7 +83965,7 @@ ${data2.flowchartText}
83982
83965
  if (!clientType.isMobile) {
83983
83966
  OnesEditorToolbar.register(editor);
83984
83967
  }
83985
- editor.version = "2.1.8-beta.5";
83968
+ editor.version = "2.1.8-beta.6";
83986
83969
  return editor;
83987
83970
  }
83988
83971
  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.8-beta.5",
3
+ "version": "2.1.8-beta.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",