@ones-editor/editor 1.1.3-bate.3 → 1.1.3-bate.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
@@ -5411,15 +5411,17 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-embe
5411
5411
  }
5412
5412
  :root .iframe-embed-auth-error-tips {
5413
5413
  width: 100%;
5414
- height: 40px;
5415
- line-height: 40px;
5414
+ height: 34px;
5415
+ line-height: 34px;
5416
5416
  background-color: #f7f8fa;
5417
5417
  text-align: center;
5418
5418
  color: #bebfc2;
5419
+ box-shadow: 0px 2px 4px 0px rgba(45, 45, 46, 0.15), 0px 0px 1px 0px rgba(45, 45, 46, 0.1);
5419
5420
  }
5420
5421
  :root .iframe-embed-auth-error-tips span {
5421
5422
  cursor: pointer;
5422
5423
  color: #0064ff;
5424
+ user-select: none;
5423
5425
  }.editor-content .editing {
5424
5426
  background-color: rgba(205, 205, 205, 0.2509803922);
5425
5427
  }
@@ -26777,9 +26779,8 @@ ${codeText}
26777
26779
  if (!this.editor.isBlockWritable(block)) {
26778
26780
  const deletedKeys = Array.from(delta.delete).filter((key) => key !== "comments");
26779
26781
  const insertedKeys = Object.keys(delta.insert).filter((key) => key !== "comments");
26780
- if (deletedKeys.length > 0 || insertedKeys.length > 0) {
26781
- assert(logger$2G, false, `block is not writable, comment supported only, ${JSON.stringify(delta)}}`);
26782
- }
26782
+ if (deletedKeys.length > 0 || insertedKeys.length > 0)
26783
+ ;
26783
26784
  }
26784
26785
  const oldData = cloneDeep__default.default(this.getBlockData(containerId, blockIndex));
26785
26786
  const newData = cloneDeep__default.default(applyBlockDataDelta(oldData, delta));
@@ -64931,7 +64932,7 @@ ${codeText}
64931
64932
  __publicField(this, "currentBlockElement", null);
64932
64933
  __publicField(this, "resizing", false);
64933
64934
  __publicField(this, "handleHoveringBlockChange", (newBlock, oldBlock) => {
64934
- if (this.resizing || !this.editor.isWritable()) {
64935
+ if (this.resizing) {
64935
64936
  return;
64936
64937
  }
64937
64938
  if (oldBlock && isWebpageBlock(oldBlock)) {
@@ -75080,6 +75081,7 @@ ${data.flowchartText}
75080
75081
  exports2.FileExtError = FileExtError;
75081
75082
  exports2.GroupOrder = GroupOrder;
75082
75083
  exports2.HeadingBlockScrollListener = HeadingBlockScrollListener;
75084
+ exports2.IframeKindEmbedDocCallbacks = IframeKindEmbedDocCallbacks;
75083
75085
  exports2.ImageBox = ImageBox;
75084
75086
  exports2.InlineBoxCommandProvider = InlineBoxCommandProvider;
75085
75087
  exports2.InputtingInsertion = InputtingInsertion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.3-bate.3",
3
+ "version": "1.1.3-bate.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",