@nkzw/mdx-editor 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +86 -0
- package/UPSTREAM.md +21 -0
- package/dist/EditorIcon.js +75 -0
- package/dist/FormatConstants.js +20 -0
- package/dist/MDXEditor.js +189 -0
- package/dist/MarkdownEditor.js +281 -0
- package/dist/PersistentMarkdownEditor.js +358 -0
- package/dist/RealmWithPlugins.js +35 -0
- package/dist/core.d.ts +3232 -0
- package/dist/core.js +354 -0
- package/dist/defaultSvgIcons.js +371 -0
- package/dist/directive-editors/AdmonitionDirectiveDescriptor.js +28 -0
- package/dist/directive-editors/GenericDirectiveEditor.js +37 -0
- package/dist/exportMarkdownFromLexical.js +262 -0
- package/dist/horizontalRuleShortcut.js +37 -0
- package/dist/importMarkdownToLexical.js +172 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.js +8 -0
- package/dist/jsx-editors/GenericJsxEditor.js +84 -0
- package/dist/mdastUtilHtmlComment.js +125 -0
- package/dist/persistence.d.ts +128 -0
- package/dist/persistence.js +4 -0
- package/dist/plugins/codeblock/CodeBlockNode.js +183 -0
- package/dist/plugins/codeblock/CodeBlockVisitor.js +14 -0
- package/dist/plugins/codeblock/MdastCodeVisitor.js +23 -0
- package/dist/plugins/codeblock/findCodeBlockDescriptor.js +8 -0
- package/dist/plugins/codeblock/index.js +46 -0
- package/dist/plugins/codemirror/CodeMirrorEditor.js +145 -0
- package/dist/plugins/codemirror/index.js +115 -0
- package/dist/plugins/codemirror/useCodeMirrorRef.js +101 -0
- package/dist/plugins/core/GenericHTMLNode.js +118 -0
- package/dist/plugins/core/LexicalGenericHTMLNodeVisitor.js +15 -0
- package/dist/plugins/core/LexicalLinebreakVisitor.js +10 -0
- package/dist/plugins/core/LexicalParagraphVisitor.js +10 -0
- package/dist/plugins/core/LexicalRootVisitor.js +10 -0
- package/dist/plugins/core/LexicalTextVisitor.js +160 -0
- package/dist/plugins/core/MdastBreakVisitor.js +10 -0
- package/dist/plugins/core/MdastFormattingVisitor.js +81 -0
- package/dist/plugins/core/MdastHTMLNode.js +120 -0
- package/dist/plugins/core/MdastHTMLVisitor.js +17 -0
- package/dist/plugins/core/MdastParagraphVisitor.js +23 -0
- package/dist/plugins/core/MdastRootVisitor.js +9 -0
- package/dist/plugins/core/MdastTextVisitor.js +16 -0
- package/dist/plugins/core/NestedLexicalEditor.js +221 -0
- package/dist/plugins/core/PropertyPopover.js +75 -0
- package/dist/plugins/core/SharedHistoryPlugin.js +10 -0
- package/dist/plugins/core/index.js +692 -0
- package/dist/plugins/core/ui/DownshiftAutoComplete.js +89 -0
- package/dist/plugins/core/ui/PopoverUtils.js +22 -0
- package/dist/plugins/diff-source/DiffSourceWrapper.js +24 -0
- package/dist/plugins/diff-source/DiffViewer.js +84 -0
- package/dist/plugins/diff-source/SourceEditor.js +60 -0
- package/dist/plugins/diff-source/index.js +27 -0
- package/dist/plugins/directives/DirectiveNode.js +107 -0
- package/dist/plugins/directives/DirectiveVisitor.js +10 -0
- package/dist/plugins/directives/MdastDirectiveVisitor.js +30 -0
- package/dist/plugins/directives/index.js +45 -0
- package/dist/plugins/frontmatter/FrontmatterEditor.js +137 -0
- package/dist/plugins/frontmatter/FrontmatterNode.js +70 -0
- package/dist/plugins/frontmatter/LexicalFrontmatterVisitor.js +10 -0
- package/dist/plugins/frontmatter/MdastFrontmatterVisitor.js +10 -0
- package/dist/plugins/frontmatter/index.js +113 -0
- package/dist/plugins/headings/LexicalHeadingVisitor.js +11 -0
- package/dist/plugins/headings/MdastHeadingVisitor.js +10 -0
- package/dist/plugins/headings/index.js +63 -0
- package/dist/plugins/image/EditImageToolbar.js +58 -0
- package/dist/plugins/image/ImageDialog.js +132 -0
- package/dist/plugins/image/ImageEditor.js +279 -0
- package/dist/plugins/image/ImageNode.js +187 -0
- package/dist/plugins/image/ImagePlaceholder.js +9 -0
- package/dist/plugins/image/ImageResizer.js +223 -0
- package/dist/plugins/image/LexicalImageVisitor.js +42 -0
- package/dist/plugins/image/MdastImageVisitor.js +91 -0
- package/dist/plugins/image/index.js +364 -0
- package/dist/plugins/jsx/LexicalJsxNode.js +103 -0
- package/dist/plugins/jsx/LexicalJsxVisitor.js +27 -0
- package/dist/plugins/jsx/LexicalMdxExpressionNode.js +130 -0
- package/dist/plugins/jsx/LexicalMdxExpressionVisitor.js +14 -0
- package/dist/plugins/jsx/MdastMdxExpressionVisitor.js +11 -0
- package/dist/plugins/jsx/MdastMdxJsEsmVisitor.js +8 -0
- package/dist/plugins/jsx/MdastMdxJsxElementVisitor.js +28 -0
- package/dist/plugins/jsx/index.js +97 -0
- package/dist/plugins/jsx/jsxTagName.js +7 -0
- package/dist/plugins/link/AutoLinkPlugin.js +18 -0
- package/dist/plugins/link/LexicalLinkVisitor.js +10 -0
- package/dist/plugins/link/MdastLinkVisitor.js +14 -0
- package/dist/plugins/link/index.js +34 -0
- package/dist/plugins/link-dialog/LinkDialog.js +262 -0
- package/dist/plugins/link-dialog/index.js +304 -0
- package/dist/plugins/lists/CheckListPlugin.js +270 -0
- package/dist/plugins/lists/LexicalListItemVisitor.js +41 -0
- package/dist/plugins/lists/LexicalListVisitor.js +13 -0
- package/dist/plugins/lists/MdastListItemVisitor.js +11 -0
- package/dist/plugins/lists/MdastListVisitor.js +19 -0
- package/dist/plugins/lists/NotesListItemNode.js +22 -0
- package/dist/plugins/lists/index.js +111 -0
- package/dist/plugins/markdown-shortcut/index.js +114 -0
- package/dist/plugins/maxlength/index.js +36 -0
- package/dist/plugins/quote/LexicalQuoteVisitor.js +10 -0
- package/dist/plugins/quote/MdastBlockQuoteVisitor.js +10 -0
- package/dist/plugins/quote/index.js +18 -0
- package/dist/plugins/remote/index.js +52 -0
- package/dist/plugins/search/index.js +360 -0
- package/dist/plugins/table/LexicalTableVisitor.js +10 -0
- package/dist/plugins/table/MdastTableVisitor.js +10 -0
- package/dist/plugins/table/TableEditor.js +527 -0
- package/dist/plugins/table/TableNode.js +208 -0
- package/dist/plugins/table/index.js +66 -0
- package/dist/plugins/thematic-break/LexicalThematicBreakVisitor.js +10 -0
- package/dist/plugins/thematic-break/MdastThematicBreakVisitor.js +10 -0
- package/dist/plugins/thematic-break/index.js +27 -0
- package/dist/plugins/toolbar/components/BlockTypeSelect.js +62 -0
- package/dist/plugins/toolbar/components/BoldItalicUnderlineToggles.js +98 -0
- package/dist/plugins/toolbar/components/ChangeAdmonitionType.js +43 -0
- package/dist/plugins/toolbar/components/ChangeCodeMirrorLanguage.js +42 -0
- package/dist/plugins/toolbar/components/CodeToggle.js +21 -0
- package/dist/plugins/toolbar/components/CreateLink.js +24 -0
- package/dist/plugins/toolbar/components/DiffSourceToggleWrapper.js +42 -0
- package/dist/plugins/toolbar/components/HighlightToggle.js +28 -0
- package/dist/plugins/toolbar/components/InsertAdmonition.js +34 -0
- package/dist/plugins/toolbar/components/InsertCodeBlock.js +23 -0
- package/dist/plugins/toolbar/components/InsertFrontmatter.js +28 -0
- package/dist/plugins/toolbar/components/InsertImage.js +29 -0
- package/dist/plugins/toolbar/components/InsertTable.js +25 -0
- package/dist/plugins/toolbar/components/InsertThematicBreak.js +23 -0
- package/dist/plugins/toolbar/components/KitchenSinkToolbar.js +82 -0
- package/dist/plugins/toolbar/components/ListsToggle.js +29 -0
- package/dist/plugins/toolbar/components/UndoRedo.js +60 -0
- package/dist/plugins/toolbar/index.js +32 -0
- package/dist/plugins/toolbar/primitives/DialogButton.js +130 -0
- package/dist/plugins/toolbar/primitives/TooltipWrap.js +17 -0
- package/dist/plugins/toolbar/primitives/select.js +76 -0
- package/dist/plugins/toolbar/primitives/toolbar.js +144 -0
- package/dist/registerCodeBoundaryEscape.js +40 -0
- package/dist/styles/lexical-theme.module.css.js +62 -0
- package/dist/styles/lexicalTheme.js +32 -0
- package/dist/styles/ui.module.css.js +296 -0
- package/dist/styles.css +2838 -0
- package/dist/utils/detectMac.js +16 -0
- package/dist/utils/fp.js +44 -0
- package/dist/utils/isPartOftheEditorUI.js +12 -0
- package/dist/utils/lexicalHelpers.js +185 -0
- package/dist/utils/makeHslTransparent.js +6 -0
- package/dist/utils/mergeStyleAttributes.js +22 -0
- package/dist/utils/uuid4.js +10 -0
- package/dist/utils/voidEmitter.js +15 -0
- package/package.json +133 -0
package/dist/core.js
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
export * from "@mdxeditor/gurx";
|
|
2
|
+
import { MDXEditor } from "./MDXEditor.js";
|
|
3
|
+
import { defaultSvgIcons } from "./defaultSvgIcons.js";
|
|
4
|
+
import { MarkdownParseError, UnrecognizedMarkdownConstructError, importMarkdownToLexical, importMdastTreeToLexical } from "./importMarkdownToLexical.js";
|
|
5
|
+
import { exportLexicalTreeToMdast, exportMarkdownFromLexical } from "./exportMarkdownFromLexical.js";
|
|
6
|
+
import { Appender, NESTED_EDITOR_UPDATED_COMMAND, activeEditor$, activeEditorSubscriptions$, activePlugins$, addActivePlugin$, addBottomAreaChild$, addComposerChild$, addEditorWrapper$, addExportVisitor$, addImportVisitor$, addLexicalNode$, addMdastExtension$, addNestedEditorChild$, addSyntaxExtension$, addTableCellEditorChild$, addToMarkdownExtension$, addTopAreaChild$, applyBlockType$, applyFormat$, autoFocus$, bottomAreaChildren$, codeBlockEditorDescriptors$, composerChildren$, contentEditableClassName$, contentEditableRef$, contentEditableWrapperElement$, convertSelectionToNode$, corePlugin, createActiveEditorSubscription$, createRootEditorSubscription$, currentBlockType$, currentFormat$, currentSelection$, defaultCodeBlockLanguage$, directiveDescriptors$, editorInFocus$, editorInTable$, editorRootElementRef$, editorWrapperElementRef$, editorWrappers$, exportVisitors$, historyState$, iconComponentFor$, importVisitors$, inFocus$, initialMarkdown$, initialMarkdownNormalize$, insertDecoratorNode$, insertMarkdown$, jsxComponentDescriptors$, jsxIsAvailable$, lexicalTheme$, markdown$, markdownErrorSignal$, markdownProcessingError$, markdownSourceEditorValue$, mdastExtensions$, muteChange$, nestedEditorChildren$, onBlur$, placeholder$, readOnly$, rootEditor$, rootEditorSubscriptions$, setMarkdown$, spellCheck$, syntaxExtensions$, tableCellEditorChildren$, toMarkdownExtensions$, toMarkdownOptions$, topAreaChildren$, translation$, useTranslation, usedLexicalNodes$, viewMode$ } from "./plugins/core/index.js";
|
|
7
|
+
import { ALL_HEADING_LEVELS, allowedHeadingLevels$, headingsPlugin } from "./plugins/headings/index.js";
|
|
8
|
+
import { insertThematicBreak$, thematicBreakPlugin } from "./plugins/thematic-break/index.js";
|
|
9
|
+
import { applyListType$, currentListType$, listsPlugin } from "./plugins/lists/index.js";
|
|
10
|
+
import { insertTable$, tablePlugin } from "./plugins/table/index.js";
|
|
11
|
+
import { disableAutoLink$, linkPlugin } from "./plugins/link/index.js";
|
|
12
|
+
import { INSERT_IMAGE_COMMAND, allowSetImageDimensions$, closeImageDialog$, disableImageResize$, disableImageSettingsButton$, editImageToolbarComponent$, imageAutocompleteSuggestions$, imageDialogState$, imagePlaceholder$, imagePlugin, imagePreviewHandler$, imageUploadHandler$, insertImage$, openEditImageDialog$, openNewImageDialog$, parseImageDimension, saveImage$ } from "./plugins/image/index.js";
|
|
13
|
+
import { frontmatterDialogOpen$, frontmatterPlugin, hasFrontmatter$, insertFrontmatter$, removeFrontmatter$ } from "./plugins/frontmatter/index.js";
|
|
14
|
+
import { quotePlugin } from "./plugins/quote/index.js";
|
|
15
|
+
import { maxLengthPlugin } from "./plugins/maxlength/index.js";
|
|
16
|
+
import { insertJsx$, isMdastJsxNode, jsxPlugin } from "./plugins/jsx/index.js";
|
|
17
|
+
import { GenericJsxEditor } from "./jsx-editors/GenericJsxEditor.js";
|
|
18
|
+
import { EMPTY_VALUE, codeBlockLanguages$, codeMirrorAutoLoadLanguageSupport$, codeMirrorExtensions$, codeMirrorPlugin, getCodeBlockLanguageSelectData, insertCodeMirror$, normalizeCodeBlockLanguages } from "./plugins/codemirror/index.js";
|
|
19
|
+
import { COMMON_STATE_CONFIG_EXTENSIONS, CodeMirrorEditor } from "./plugins/codemirror/CodeMirrorEditor.js";
|
|
20
|
+
import { appendCodeBlockEditorDescriptor$, codeBlockPlugin, insertCodeBlock$ } from "./plugins/codeblock/index.js";
|
|
21
|
+
import { directivesPlugin, insertDirective$ } from "./plugins/directives/index.js";
|
|
22
|
+
import { ADMONITION_TYPES, AdmonitionDirectiveDescriptor } from "./directive-editors/AdmonitionDirectiveDescriptor.js";
|
|
23
|
+
import { GenericDirectiveEditor } from "./directive-editors/GenericDirectiveEditor.js";
|
|
24
|
+
import { applyLinkChanges$, cancelLinkEdit$, linkAutocompleteSuggestions$, linkDialogPlugin, linkDialogState$, onClickLinkCallback$, onReadOnlyClickLinkCallback$, onWindowChange$, openLinkEditDialog$, removeLink$, showLinkTitleField$, switchFromPreviewToLinkEdit$, updateLink$ } from "./plugins/link-dialog/index.js";
|
|
25
|
+
import { toolbarClassName$, toolbarContents$, toolbarPlugin } from "./plugins/toolbar/index.js";
|
|
26
|
+
import { cmExtensions$, diffMarkdown$, diffSourcePlugin, readOnlyDiff$ } from "./plugins/diff-source/index.js";
|
|
27
|
+
import { markdownShortcutPlugin } from "./plugins/markdown-shortcut/index.js";
|
|
28
|
+
import { EmptyTextNodeIndex, MDX_FOCUS_SEARCH_NAME, MDX_SEARCH_NAME, debouncedIndexer$, editorSearchCursor$, editorSearchRanges$, editorSearchScrollableContent$, editorSearchTerm$, editorSearchTermDebounced$, editorSearchTextNodeIndex$, rangeSearchScan, searchOpen$, searchPlugin, useEditorSearch } from "./plugins/search/index.js";
|
|
29
|
+
import { BlockTypeSelect } from "./plugins/toolbar/components/BlockTypeSelect.js";
|
|
30
|
+
import { BoldItalicUnderlineToggles, StrikeThroughSupSubToggles } from "./plugins/toolbar/components/BoldItalicUnderlineToggles.js";
|
|
31
|
+
import { ChangeAdmonitionType, admonitionLabelsMap } from "./plugins/toolbar/components/ChangeAdmonitionType.js";
|
|
32
|
+
import { ChangeCodeMirrorLanguage } from "./plugins/toolbar/components/ChangeCodeMirrorLanguage.js";
|
|
33
|
+
import { CodeToggle } from "./plugins/toolbar/components/CodeToggle.js";
|
|
34
|
+
import { HighlightToggle } from "./plugins/toolbar/components/HighlightToggle.js";
|
|
35
|
+
import { CreateLink } from "./plugins/toolbar/components/CreateLink.js";
|
|
36
|
+
import { DiffSourceToggleWrapper } from "./plugins/toolbar/components/DiffSourceToggleWrapper.js";
|
|
37
|
+
import { InsertAdmonition } from "./plugins/toolbar/components/InsertAdmonition.js";
|
|
38
|
+
import { InsertCodeBlock } from "./plugins/toolbar/components/InsertCodeBlock.js";
|
|
39
|
+
import { InsertFrontmatter } from "./plugins/toolbar/components/InsertFrontmatter.js";
|
|
40
|
+
import { InsertImage } from "./plugins/toolbar/components/InsertImage.js";
|
|
41
|
+
import { InsertTable } from "./plugins/toolbar/components/InsertTable.js";
|
|
42
|
+
import { InsertThematicBreak } from "./plugins/toolbar/components/InsertThematicBreak.js";
|
|
43
|
+
import { ListsToggle } from "./plugins/toolbar/components/ListsToggle.js";
|
|
44
|
+
import { UndoRedo } from "./plugins/toolbar/components/UndoRedo.js";
|
|
45
|
+
import { KitchenSinkToolbar } from "./plugins/toolbar/components/KitchenSinkToolbar.js";
|
|
46
|
+
import { Button, ButtonOrDropdownButton, ButtonWithTooltip, ConditionalContents, MultipleChoiceToggleGroup, Root, Separator, SingleChoiceToggleGroup, SingleToggleGroup, ToggleSingleGroupWithItem, ToolbarToggleItem } from "./plugins/toolbar/primitives/toolbar.js";
|
|
47
|
+
import { DialogButton } from "./plugins/toolbar/primitives/DialogButton.js";
|
|
48
|
+
import { TooltipWrap } from "./plugins/toolbar/primitives/TooltipWrap.js";
|
|
49
|
+
import { Select, SelectButtonTrigger, SelectContent, SelectItem, SelectTrigger } from "./plugins/toolbar/primitives/select.js";
|
|
50
|
+
import { NestedEditorsContext, NestedLexicalEditor, useLexicalNodeRemove, useMdastNodeUpdater, useNestedEditorContext } from "./plugins/core/NestedLexicalEditor.js";
|
|
51
|
+
import { PropertyPopover } from "./plugins/core/PropertyPopover.js";
|
|
52
|
+
import { RemoteMDXEditorRealmProvider, remoteRealmPlugin, useRemoteMDXEditorRealm } from "./plugins/remote/index.js";
|
|
53
|
+
import { CAN_USE_DOM, IS_APPLE, controlOrMeta } from "./utils/detectMac.js";
|
|
54
|
+
import { always, call, compose, curry1to0, curry2to1, joinProc, noop, prop, tap, thrush } from "./utils/fp.js";
|
|
55
|
+
import { isPartOftheEditorUI } from "./utils/isPartOftheEditorUI.js";
|
|
56
|
+
import { fromWithinEditorRead, getSelectedNode, getSelectionAsMarkdown, getSelectionRectangle, getStateAsMarkdown } from "./utils/lexicalHelpers.js";
|
|
57
|
+
import { makeHslTransparent } from "./utils/makeHslTransparent.js";
|
|
58
|
+
import { uuidv4 } from "./utils/uuid4.js";
|
|
59
|
+
import { voidEmitter } from "./utils/voidEmitter.js";
|
|
60
|
+
import { RealmWithPlugins, realmPlugin } from "./RealmWithPlugins.js";
|
|
61
|
+
import { DEFAULT_FORMAT, IS_BOLD, IS_CODE, IS_HIGHLIGHT, IS_ITALIC, IS_STRIKETHROUGH, IS_SUBSCRIPT, IS_SUPERSCRIPT, IS_UNDERLINE } from "./FormatConstants.js";
|
|
62
|
+
import { lexicalTheme } from "./styles/lexicalTheme.js";
|
|
63
|
+
import * as lexical from "lexical";
|
|
64
|
+
import { $convertPreElement, $createCodeBlockNode, $isCodeBlockNode, CodeBlockNode, useCodeBlockEditorContext } from "./plugins/codeblock/CodeBlockNode.js";
|
|
65
|
+
import { $convertTableElement, $createTableNode, $isTableNode, TableNode } from "./plugins/table/TableNode.js";
|
|
66
|
+
import { $createDirectiveNode, $isDirectiveNode, DirectiveNode } from "./plugins/directives/DirectiveNode.js";
|
|
67
|
+
import { $createFrontmatterNode, $isFrontmatterNode, FrontmatterNode } from "./plugins/frontmatter/FrontmatterNode.js";
|
|
68
|
+
import { $createGenericHTMLNode, $isGenericHTMLNode, GenericHTMLNode, TYPE_NAME } from "./plugins/core/GenericHTMLNode.js";
|
|
69
|
+
import { $createImageNode, $isImageNode, ImageNode } from "./plugins/image/ImageNode.js";
|
|
70
|
+
import { htmlTags, isMdastHTMLNode } from "./plugins/core/MdastHTMLNode.js";
|
|
71
|
+
export {
|
|
72
|
+
$convertPreElement,
|
|
73
|
+
$convertTableElement,
|
|
74
|
+
$createCodeBlockNode,
|
|
75
|
+
$createDirectiveNode,
|
|
76
|
+
$createFrontmatterNode,
|
|
77
|
+
$createGenericHTMLNode,
|
|
78
|
+
$createImageNode,
|
|
79
|
+
$createTableNode,
|
|
80
|
+
$isCodeBlockNode,
|
|
81
|
+
$isDirectiveNode,
|
|
82
|
+
$isFrontmatterNode,
|
|
83
|
+
$isGenericHTMLNode,
|
|
84
|
+
$isImageNode,
|
|
85
|
+
$isTableNode,
|
|
86
|
+
ADMONITION_TYPES,
|
|
87
|
+
ALL_HEADING_LEVELS,
|
|
88
|
+
AdmonitionDirectiveDescriptor,
|
|
89
|
+
Appender,
|
|
90
|
+
BlockTypeSelect,
|
|
91
|
+
BoldItalicUnderlineToggles,
|
|
92
|
+
Button,
|
|
93
|
+
ButtonOrDropdownButton,
|
|
94
|
+
ButtonWithTooltip,
|
|
95
|
+
CAN_USE_DOM,
|
|
96
|
+
COMMON_STATE_CONFIG_EXTENSIONS,
|
|
97
|
+
ChangeAdmonitionType,
|
|
98
|
+
ChangeCodeMirrorLanguage,
|
|
99
|
+
CodeBlockNode,
|
|
100
|
+
CodeMirrorEditor,
|
|
101
|
+
CodeToggle,
|
|
102
|
+
ConditionalContents,
|
|
103
|
+
CreateLink,
|
|
104
|
+
DEFAULT_FORMAT,
|
|
105
|
+
DialogButton,
|
|
106
|
+
DiffSourceToggleWrapper,
|
|
107
|
+
DirectiveNode,
|
|
108
|
+
EMPTY_VALUE,
|
|
109
|
+
EmptyTextNodeIndex,
|
|
110
|
+
FrontmatterNode,
|
|
111
|
+
GenericDirectiveEditor,
|
|
112
|
+
GenericHTMLNode,
|
|
113
|
+
GenericJsxEditor,
|
|
114
|
+
HighlightToggle,
|
|
115
|
+
INSERT_IMAGE_COMMAND,
|
|
116
|
+
IS_APPLE,
|
|
117
|
+
IS_BOLD,
|
|
118
|
+
IS_CODE,
|
|
119
|
+
IS_HIGHLIGHT,
|
|
120
|
+
IS_ITALIC,
|
|
121
|
+
IS_STRIKETHROUGH,
|
|
122
|
+
IS_SUBSCRIPT,
|
|
123
|
+
IS_SUPERSCRIPT,
|
|
124
|
+
IS_UNDERLINE,
|
|
125
|
+
ImageNode,
|
|
126
|
+
InsertAdmonition,
|
|
127
|
+
InsertCodeBlock,
|
|
128
|
+
InsertFrontmatter,
|
|
129
|
+
InsertImage,
|
|
130
|
+
InsertTable,
|
|
131
|
+
InsertThematicBreak,
|
|
132
|
+
KitchenSinkToolbar,
|
|
133
|
+
ListsToggle,
|
|
134
|
+
MDXEditor,
|
|
135
|
+
MDX_FOCUS_SEARCH_NAME,
|
|
136
|
+
MDX_SEARCH_NAME,
|
|
137
|
+
MarkdownParseError,
|
|
138
|
+
MultipleChoiceToggleGroup,
|
|
139
|
+
NESTED_EDITOR_UPDATED_COMMAND,
|
|
140
|
+
NestedEditorsContext,
|
|
141
|
+
NestedLexicalEditor,
|
|
142
|
+
PropertyPopover,
|
|
143
|
+
RealmWithPlugins,
|
|
144
|
+
RemoteMDXEditorRealmProvider,
|
|
145
|
+
Root,
|
|
146
|
+
Select,
|
|
147
|
+
SelectButtonTrigger,
|
|
148
|
+
SelectContent,
|
|
149
|
+
SelectItem,
|
|
150
|
+
SelectTrigger,
|
|
151
|
+
Separator,
|
|
152
|
+
SingleChoiceToggleGroup,
|
|
153
|
+
SingleToggleGroup,
|
|
154
|
+
StrikeThroughSupSubToggles,
|
|
155
|
+
TYPE_NAME,
|
|
156
|
+
TableNode,
|
|
157
|
+
ToggleSingleGroupWithItem,
|
|
158
|
+
ToolbarToggleItem,
|
|
159
|
+
TooltipWrap,
|
|
160
|
+
UndoRedo,
|
|
161
|
+
UnrecognizedMarkdownConstructError,
|
|
162
|
+
activeEditor$,
|
|
163
|
+
activeEditorSubscriptions$,
|
|
164
|
+
activePlugins$,
|
|
165
|
+
addActivePlugin$,
|
|
166
|
+
addBottomAreaChild$,
|
|
167
|
+
addComposerChild$,
|
|
168
|
+
addEditorWrapper$,
|
|
169
|
+
addExportVisitor$,
|
|
170
|
+
addImportVisitor$,
|
|
171
|
+
addLexicalNode$,
|
|
172
|
+
addMdastExtension$,
|
|
173
|
+
addNestedEditorChild$,
|
|
174
|
+
addSyntaxExtension$,
|
|
175
|
+
addTableCellEditorChild$,
|
|
176
|
+
addToMarkdownExtension$,
|
|
177
|
+
addTopAreaChild$,
|
|
178
|
+
admonitionLabelsMap,
|
|
179
|
+
allowSetImageDimensions$,
|
|
180
|
+
allowedHeadingLevels$,
|
|
181
|
+
always,
|
|
182
|
+
appendCodeBlockEditorDescriptor$,
|
|
183
|
+
applyBlockType$,
|
|
184
|
+
applyFormat$,
|
|
185
|
+
applyLinkChanges$,
|
|
186
|
+
applyListType$,
|
|
187
|
+
autoFocus$,
|
|
188
|
+
bottomAreaChildren$,
|
|
189
|
+
call,
|
|
190
|
+
cancelLinkEdit$,
|
|
191
|
+
closeImageDialog$,
|
|
192
|
+
cmExtensions$,
|
|
193
|
+
codeBlockEditorDescriptors$,
|
|
194
|
+
codeBlockLanguages$,
|
|
195
|
+
codeBlockPlugin,
|
|
196
|
+
codeMirrorAutoLoadLanguageSupport$,
|
|
197
|
+
codeMirrorExtensions$,
|
|
198
|
+
codeMirrorPlugin,
|
|
199
|
+
compose,
|
|
200
|
+
composerChildren$,
|
|
201
|
+
contentEditableClassName$,
|
|
202
|
+
contentEditableRef$,
|
|
203
|
+
contentEditableWrapperElement$,
|
|
204
|
+
controlOrMeta,
|
|
205
|
+
convertSelectionToNode$,
|
|
206
|
+
corePlugin,
|
|
207
|
+
createActiveEditorSubscription$,
|
|
208
|
+
createRootEditorSubscription$,
|
|
209
|
+
currentBlockType$,
|
|
210
|
+
currentFormat$,
|
|
211
|
+
currentListType$,
|
|
212
|
+
currentSelection$,
|
|
213
|
+
curry1to0,
|
|
214
|
+
curry2to1,
|
|
215
|
+
debouncedIndexer$,
|
|
216
|
+
defaultCodeBlockLanguage$,
|
|
217
|
+
defaultSvgIcons,
|
|
218
|
+
diffMarkdown$,
|
|
219
|
+
diffSourcePlugin,
|
|
220
|
+
directiveDescriptors$,
|
|
221
|
+
directivesPlugin,
|
|
222
|
+
disableAutoLink$,
|
|
223
|
+
disableImageResize$,
|
|
224
|
+
disableImageSettingsButton$,
|
|
225
|
+
editImageToolbarComponent$,
|
|
226
|
+
editorInFocus$,
|
|
227
|
+
editorInTable$,
|
|
228
|
+
editorRootElementRef$,
|
|
229
|
+
editorSearchCursor$,
|
|
230
|
+
editorSearchRanges$,
|
|
231
|
+
editorSearchScrollableContent$,
|
|
232
|
+
editorSearchTerm$,
|
|
233
|
+
editorSearchTermDebounced$,
|
|
234
|
+
editorSearchTextNodeIndex$,
|
|
235
|
+
editorWrapperElementRef$,
|
|
236
|
+
editorWrappers$,
|
|
237
|
+
exportLexicalTreeToMdast,
|
|
238
|
+
exportMarkdownFromLexical,
|
|
239
|
+
exportVisitors$,
|
|
240
|
+
fromWithinEditorRead,
|
|
241
|
+
frontmatterDialogOpen$,
|
|
242
|
+
frontmatterPlugin,
|
|
243
|
+
getCodeBlockLanguageSelectData,
|
|
244
|
+
getSelectedNode,
|
|
245
|
+
getSelectionAsMarkdown,
|
|
246
|
+
getSelectionRectangle,
|
|
247
|
+
getStateAsMarkdown,
|
|
248
|
+
hasFrontmatter$,
|
|
249
|
+
headingsPlugin,
|
|
250
|
+
historyState$,
|
|
251
|
+
htmlTags,
|
|
252
|
+
iconComponentFor$,
|
|
253
|
+
imageAutocompleteSuggestions$,
|
|
254
|
+
imageDialogState$,
|
|
255
|
+
imagePlaceholder$,
|
|
256
|
+
imagePlugin,
|
|
257
|
+
imagePreviewHandler$,
|
|
258
|
+
imageUploadHandler$,
|
|
259
|
+
importMarkdownToLexical,
|
|
260
|
+
importMdastTreeToLexical,
|
|
261
|
+
importVisitors$,
|
|
262
|
+
inFocus$,
|
|
263
|
+
initialMarkdown$,
|
|
264
|
+
initialMarkdownNormalize$,
|
|
265
|
+
insertCodeBlock$,
|
|
266
|
+
insertCodeMirror$,
|
|
267
|
+
insertDecoratorNode$,
|
|
268
|
+
insertDirective$,
|
|
269
|
+
insertFrontmatter$,
|
|
270
|
+
insertImage$,
|
|
271
|
+
insertJsx$,
|
|
272
|
+
insertMarkdown$,
|
|
273
|
+
insertTable$,
|
|
274
|
+
insertThematicBreak$,
|
|
275
|
+
isMdastHTMLNode,
|
|
276
|
+
isMdastJsxNode,
|
|
277
|
+
isPartOftheEditorUI,
|
|
278
|
+
joinProc,
|
|
279
|
+
jsxComponentDescriptors$,
|
|
280
|
+
jsxIsAvailable$,
|
|
281
|
+
jsxPlugin,
|
|
282
|
+
lexical,
|
|
283
|
+
lexicalTheme,
|
|
284
|
+
lexicalTheme$,
|
|
285
|
+
linkAutocompleteSuggestions$,
|
|
286
|
+
linkDialogPlugin,
|
|
287
|
+
linkDialogState$,
|
|
288
|
+
linkPlugin,
|
|
289
|
+
listsPlugin,
|
|
290
|
+
makeHslTransparent,
|
|
291
|
+
markdown$,
|
|
292
|
+
markdownErrorSignal$,
|
|
293
|
+
markdownProcessingError$,
|
|
294
|
+
markdownShortcutPlugin,
|
|
295
|
+
markdownSourceEditorValue$,
|
|
296
|
+
maxLengthPlugin,
|
|
297
|
+
mdastExtensions$,
|
|
298
|
+
muteChange$,
|
|
299
|
+
nestedEditorChildren$,
|
|
300
|
+
noop,
|
|
301
|
+
normalizeCodeBlockLanguages,
|
|
302
|
+
onBlur$,
|
|
303
|
+
onClickLinkCallback$,
|
|
304
|
+
onReadOnlyClickLinkCallback$,
|
|
305
|
+
onWindowChange$,
|
|
306
|
+
openEditImageDialog$,
|
|
307
|
+
openLinkEditDialog$,
|
|
308
|
+
openNewImageDialog$,
|
|
309
|
+
parseImageDimension,
|
|
310
|
+
placeholder$,
|
|
311
|
+
prop,
|
|
312
|
+
quotePlugin,
|
|
313
|
+
rangeSearchScan,
|
|
314
|
+
readOnly$,
|
|
315
|
+
readOnlyDiff$,
|
|
316
|
+
realmPlugin,
|
|
317
|
+
remoteRealmPlugin,
|
|
318
|
+
removeFrontmatter$,
|
|
319
|
+
removeLink$,
|
|
320
|
+
rootEditor$,
|
|
321
|
+
rootEditorSubscriptions$,
|
|
322
|
+
saveImage$,
|
|
323
|
+
searchOpen$,
|
|
324
|
+
searchPlugin,
|
|
325
|
+
setMarkdown$,
|
|
326
|
+
showLinkTitleField$,
|
|
327
|
+
spellCheck$,
|
|
328
|
+
switchFromPreviewToLinkEdit$,
|
|
329
|
+
syntaxExtensions$,
|
|
330
|
+
tableCellEditorChildren$,
|
|
331
|
+
tablePlugin,
|
|
332
|
+
tap,
|
|
333
|
+
thematicBreakPlugin,
|
|
334
|
+
thrush,
|
|
335
|
+
toMarkdownExtensions$,
|
|
336
|
+
toMarkdownOptions$,
|
|
337
|
+
toolbarClassName$,
|
|
338
|
+
toolbarContents$,
|
|
339
|
+
toolbarPlugin,
|
|
340
|
+
topAreaChildren$,
|
|
341
|
+
translation$,
|
|
342
|
+
updateLink$,
|
|
343
|
+
useCodeBlockEditorContext,
|
|
344
|
+
useEditorSearch,
|
|
345
|
+
useLexicalNodeRemove,
|
|
346
|
+
useMdastNodeUpdater,
|
|
347
|
+
useNestedEditorContext,
|
|
348
|
+
useRemoteMDXEditorRealm,
|
|
349
|
+
useTranslation,
|
|
350
|
+
usedLexicalNodes$,
|
|
351
|
+
uuidv4,
|
|
352
|
+
viewMode$,
|
|
353
|
+
voidEmitter
|
|
354
|
+
};
|