@ones-editor/editor 2.5.1-beta.5 → 2.5.1-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.
package/dist/index.js CHANGED
@@ -73878,6 +73878,22 @@ ${codeText}
73878
73878
  }
73879
73879
  }];
73880
73880
  }
73881
+ if (token.type === "image") {
73882
+ const href = token.href || "";
73883
+ if (href) {
73884
+ const boxData = {
73885
+ id: genId(),
73886
+ created: Date.now(),
73887
+ box: true,
73888
+ type: "image",
73889
+ src: href
73890
+ };
73891
+ return [{
73892
+ insert: " ",
73893
+ attributes: boxData
73894
+ }];
73895
+ }
73896
+ }
73881
73897
  logger$Q.warn(`unknown token in text: ${JSON.stringify(token)}`);
73882
73898
  return [];
73883
73899
  });
@@ -92135,7 +92151,7 @@ ${data2.plantumlText}
92135
92151
  }
92136
92152
  }
92137
92153
  });
92138
- editor.version = "2.5.1-beta.5";
92154
+ editor.version = "2.5.1-beta.6";
92139
92155
  return editor;
92140
92156
  }
92141
92157
  function isDoc(doc2) {
@@ -92248,7 +92264,7 @@ ${data2.plantumlText}
92248
92264
  }
92249
92265
  });
92250
92266
  OnesEditorToolbar.register(editor);
92251
- editor.version = "2.5.1-beta.5";
92267
+ editor.version = "2.5.1-beta.6";
92252
92268
  return editor;
92253
92269
  }
92254
92270
  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.5.1-beta.5",
3
+ "version": "2.5.1-beta.6",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {