@quadrats/common 0.6.5 → 0.6.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.
@@ -29,7 +29,7 @@ interface FileUploaderImplement {
29
29
  onload: (() => void) | null;
30
30
  open: (method: string, url: string | URL) => void;
31
31
  setRequestHeader: (key: string, value: string) => void;
32
- send(body?: Document | XMLHttpRequestBodyInit | null): void;
32
+ send(body?: Document | BodyInit | null): void;
33
33
  readonly status: number;
34
34
  readonly response: any;
35
35
  readonly upload: FileUploaderUploadImplement;
@@ -125,9 +125,7 @@ function createImage(options = {}) {
125
125
  const imageContainer = Editor.parent(editor, wrapperLocation);
126
126
  if (imageContainer) {
127
127
  const [imageElement, imageLocation] = imageContainer;
128
- console.log(imageLocation, imageContainer);
129
128
  if (imageElement.type === types.figure) {
130
- console.log('???');
131
129
  Transforms.removeNodes(editor, { at: imageLocation });
132
130
  }
133
131
  }
@@ -153,9 +153,7 @@ function createImage(options = {}) {
153
153
  const imageContainer = core.Editor.parent(editor, wrapperLocation);
154
154
  if (imageContainer) {
155
155
  const [imageElement, imageLocation] = imageContainer;
156
- console.log(imageLocation, imageContainer);
157
156
  if (imageElement.type === types.figure) {
158
- console.log('???');
159
157
  core.Transforms.removeNodes(editor, { at: imageLocation });
160
158
  }
161
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrats/common",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "",
5
5
  "author": "Rytass",
6
6
  "homepage": "https://github.com/Quadrats/quadrats#readme",