Socket
Socket
Sign inDemoInstall

@mdxeditor/editor

Package Overview
Dependencies
44
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.14.1 to 0.14.2

9

dist/MDXEditor.js

@@ -64,5 +64,12 @@ import React__default from "react";

React__default.useEffect(() => {
const popupContainer = document.createElement("div");
popupContainer.classList.add(styles.editorRoot);
document.body.appendChild(popupContainer);
editorRootElementRef.current = popupContainer;
setEditorRootElementRef(editorRootElementRef);
return () => {
document.body.removeChild(popupContainer);
};
}, [editorRootElementRef, setEditorRootElementRef]);
return /* @__PURE__ */ React__default.createElement("div", { className: classNames(styles.editorRoot, styles.editorWrapper, className, "mdxeditor"), ref: editorRootElementRef }, children);
return /* @__PURE__ */ React__default.createElement("div", { className: classNames(styles.editorRoot, styles.editorWrapper, className, "mdxeditor") }, children);
};

@@ -69,0 +76,0 @@ const Methods = ({ mdxRef }) => {

@@ -80,2 +80,3 @@ import * as Dialog from "@radix-ui/react-dialog";

e.preventDefault();
e.stopPropagation();
onSubmitCallback(inputProps.value);

@@ -82,0 +83,0 @@ };

2

package.json

@@ -12,3 +12,3 @@ {

"type": "module",
"version": "0.14.1",
"version": "0.14.2",
"description": "React component for rich text markdown editing",

@@ -15,0 +15,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc