@mdxeditor/editor
Advanced tools
Comparing version 3.9.3 to 3.10.0
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) => { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
531817
13927