@mdxeditor/editor 1.2.1 → 1.2.2

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.
@@ -204,6 +204,7 @@ function ImageEditor({ src, title, alt, nodeKey, width, height }) {
204
204
  )), draggable && isFocused && !disableImageResize && /* @__PURE__ */ React__default.createElement(ImageResizer, { editor, imageRef, onResizeStart, onResizeEnd }), /* @__PURE__ */ React__default.createElement(
205
205
  "button",
206
206
  {
207
+ type: "button",
207
208
  className: classNames(styles.iconButton, styles.editImageButton),
208
209
  title: "Edit image",
209
210
  onClick: () => {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "private": false,
10
10
  "sideEffects": false,
11
11
  "type": "module",
12
- "version": "1.2.1",
12
+ "version": "1.2.2",
13
13
  "description": "React component for rich text markdown editing",
14
14
  "scripts": {
15
15
  "build": "vite build",
@@ -41,7 +41,6 @@
41
41
  "@codemirror/view": "^6.21.0",
42
42
  "@codesandbox/sandpack-react": "^2.6.7",
43
43
  "@lexical/clipboard": "^0.12.2",
44
- "@lexical/code": "^0.12.2",
45
44
  "@lexical/link": "^0.12.2",
46
45
  "@lexical/list": "^0.12.2",
47
46
  "@lexical/markdown": "^0.12.2",