@ones-editor/editor 1.1.23-beta.7 → 1.1.23-beta.8

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
@@ -55498,7 +55498,9 @@ $$${mathData.mathjaxText}$$
55498
55498
  return null;
55499
55499
  }
55500
55500
  const { blockData, focusBlockId } = ret;
55501
- return editor.insertBlock(options.containerId, options.blockIndex, blockData, createBlockSimpleRange(editor, focusBlockId, 0));
55501
+ const newBlock = editor.insertBlock(options.containerId, options.blockIndex, blockData, createBlockSimpleRange(editor, focusBlockId, 0));
55502
+ editor.focus();
55503
+ return newBlock;
55502
55504
  });
55503
55505
  }
55504
55506
  class TableCreatorItem {
@@ -77238,7 +77240,7 @@ ${data.flowchartText}
77238
77240
  }
77239
77241
  }
77240
77242
  });
77241
- editor.version = "1.1.23-beta.7";
77243
+ editor.version = "1.1.23-beta.8";
77242
77244
  if (Logger$2.level === LogLevel.DEBUG) {
77243
77245
  window.setReauthFail = (fail) => {
77244
77246
  window.isReauthError = fail;
@@ -77327,7 +77329,7 @@ ${data.flowchartText}
77327
77329
  });
77328
77330
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
77329
77331
  OnesEditorToolbar.register(editor);
77330
- editor.version = "1.1.23-beta.7";
77332
+ editor.version = "1.1.23-beta.8";
77331
77333
  return editor;
77332
77334
  }
77333
77335
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.23-beta.7",
3
+ "version": "1.1.23-beta.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",