• Live demo
  • Docs
  • API Reference
GitHub
MDXEditor
Headings
Quote
Links
Link Dialog
Lists
Image
Table
Thematic Break
Toolbar
Toolbar Components
Toolbar Primitives
Code Block
CodeMirror
Sandpack
Diff/Source
Directive
HTML
JSX
Frontmatter
Markdown Shortcuts
Markdown Processing
Core
EditorInFocus
RealmPlugin
BlockType
EditorSubscription
activeEditor$
activePlugins$
addActivePlugin$
addBottomAreaChild$
addComposerChild$
addEditorWrapper$
addLexicalNode$
addNestedEditorChild$
addTopAreaChild$
applyBlockType$
applyFormat$
contentEditableClassName$
contentEditableRef$
convertSelectionToNode$
createActiveEditorSubscription$
createRootEditorSubscription$
currentBlockType$
currentFormat$
currentSelection$
editorInFocus$
editorRootElementRef$
exportVisitors$
iconComponentFor$
importVisitors$
inFocus$
insertDecoratorNode$
insertMarkdown$
markdown$
markdownProcessingError$
nestedEditorChildren$
onBlur$
readOnly$
rootEditor$
setMarkdown$
spellCheck$
usedLexicalNodes$
realmPlugin
Custom Editor Primitives
Utils
Classes
Functions
Interfaces
Type Aliases
Utilities
Variables

Type alias: BlockType

BlockType: "paragraph" | "quote" | HeadingTagType | ""

The type of the block that the current selection is in.

Copyright © 2023 Petyo Ivanov
  • GitHub
  • Twitter
  • LinkedIn
  • Email