@ones-editor/editor 2.1.1-beta.57 → 2.1.1-beta.58

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
@@ -75158,7 +75158,7 @@ ${content}
75158
75158
  link2.setAttribute("data-file-src", fileData.src);
75159
75159
  }
75160
75160
  function handleClickBox$1(editor, box, event) {
75161
- if (clientType.isMobile) {
75161
+ if (clientType.isMobile && !editor.readonly) {
75162
75162
  return;
75163
75163
  }
75164
75164
  const options = editor.options.componentsOptions.file;
@@ -86560,7 +86560,7 @@ ${data2.flowchartText}
86560
86560
  }
86561
86561
  }
86562
86562
  });
86563
- editor.version = "2.1.1-beta.57";
86563
+ editor.version = "2.1.1-beta.58";
86564
86564
  if (Logger$2.level === LogLevel.DEBUG) {
86565
86565
  window.setReauthFail = (fail) => {
86566
86566
  window.isReauthError = fail;
@@ -86658,7 +86658,7 @@ ${data2.flowchartText}
86658
86658
  });
86659
86659
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
86660
86660
  OnesEditorToolbar.register(editor);
86661
- editor.version = "2.1.1-beta.57";
86661
+ editor.version = "2.1.1-beta.58";
86662
86662
  return editor;
86663
86663
  }
86664
86664
  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.57",
3
+ "version": "2.1.1-beta.58",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",