Socket
Socket
Sign inDemoInstall

@mdxeditor/editor

Package Overview
Dependencies
Maintainers
1
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdxeditor/editor - npm Package Compare versions

Comparing version 3.9.3 to 3.10.0

2

dist/index.js
import "./styles/globals.css.js";
export * from "@mdxeditor/gurx";
import { MDXEditor } from "./MDXEditor.js";
import { defaultSvgIcons } from "./defaultSvgIcons.js";
import { MarkdownParseError, UnrecognizedMarkdownConstructError, importMarkdownToLexical, importMdastTreeToLexical } from "./importMarkdownToLexical.js";

@@ -198,2 +199,3 @@ import { exportLexicalTreeToMdast, exportMarkdownFromLexical } from "./exportMarkdownFromLexical.js";

defaultCodeBlockLanguage$,
defaultSvgIcons,
diffMarkdown$,

@@ -200,0 +202,0 @@ diffSourcePlugin,

@@ -1,2 +0,2 @@

import { $addUpdateTag, $getNodeByKey, createEditor, $getRoot, BLUR_COMMAND, COMMAND_PRIORITY_EDITOR, SELECTION_CHANGE_COMMAND, COMMAND_PRIORITY_HIGH, KEY_BACKSPACE_COMMAND, COMMAND_PRIORITY_CRITICAL } from "lexical";
import { $addUpdateTag, $getNodeByKey, createEditor, $getRoot, FOCUS_COMMAND, COMMAND_PRIORITY_LOW, BLUR_COMMAND, COMMAND_PRIORITY_EDITOR, SELECTION_CHANGE_COMMAND, COMMAND_PRIORITY_HIGH, KEY_BACKSPACE_COMMAND, COMMAND_PRIORITY_CRITICAL } from "lexical";
import React__default from "react";

@@ -131,2 +131,10 @@ import { NESTED_EDITOR_UPDATED_COMMAND, rootEditor$, importVisitors$, exportVisitors$, usedLexicalNodes$, jsxComponentDescriptors$, directiveDescriptors$, codeBlockEditorDescriptors$, jsxIsAvailable$, nestedEditorChildren$, editorInFocus$ } from "./index.js";

editor.registerCommand(
FOCUS_COMMAND,
() => {
setEditorInFocus({ editorType: "lexical", rootNode: lexicalNode });
return false;
},
COMMAND_PRIORITY_LOW
),
editor.registerCommand(
BLUR_COMMAND,

@@ -133,0 +141,0 @@ (payload) => {

4

dist/plugins/table/TableEditor.js

@@ -6,3 +6,3 @@ import { ContentEditable } from "@lexical/react/LexicalContentEditable.js";

import * as RadixPopover from "@radix-ui/react-popover";
import { $createParagraphNode, createEditor, $getRoot, KEY_TAB_COMMAND, COMMAND_PRIORITY_CRITICAL, FOCUS_COMMAND, COMMAND_PRIORITY_LOW, KEY_ENTER_COMMAND, BLUR_COMMAND } from "lexical";
import { $createParagraphNode, createEditor, $getRoot, KEY_TAB_COMMAND, COMMAND_PRIORITY_CRITICAL, FOCUS_COMMAND, COMMAND_PRIORITY_LOW, KEY_ENTER_COMMAND, BLUR_COMMAND, COMMAND_PRIORITY_EDITOR } from "lexical";
import React__default from "react";

@@ -311,3 +311,3 @@ import { exportLexicalTreeToMdast } from "../../exportMarkdownFromLexical.js";

},
COMMAND_PRIORITY_CRITICAL
COMMAND_PRIORITY_EDITOR
),

@@ -314,0 +314,0 @@ editor.registerCommand(

@@ -14,3 +14,3 @@ {

"type": "module",
"version": "3.9.3",
"version": "3.10.0",
"description": "React component for rich text markdown editing",

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

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc