DocsExtensions

Extensions

This page is generated from the real default stack in `src/lib/components/HybricEditor.tsx`.

Default stack (enabled by default)

ExtensionPackageConfigurationPurpose
StarterKit@tiptap/starter-kitlink: falseCore marks/nodes and keymaps.
HtmlBlockinternal extensiongroup: 'block', content: 'inline*'Supports safe HTML-like block segments in document flow.
Link@tiptap/extension-linkopenOnClick: false, autolink: true, linkOnPaste: trueEditing-friendly link behavior.
Underline@tiptap/extension-underlinedefaultUnderline formatting.
Highlight@tiptap/extension-highlightmulticolor: falseSingle-color text highlight.
Subscript@tiptap/extension-subscriptdefaultSubscript marks.
Superscript@tiptap/extension-superscriptdefaultSuperscript marks.
TaskList + TaskItem@tiptap/extension-listTaskItem.configure({ nested: true })Nested task list support.
Image@tiptap/extension-imageinline: false, allowBase64: true, loading: 'lazy', decoding: 'async'Block image nodes with native lazy hints.
TyporaTable@tiptap/extension-tableresizable: true, lastColumnResizable: falseResizable Typora-like table behavior.
TableRow@tiptap/extension-table-rowdefaultTable row node.
TyporaTableHeader@tiptap/extension-table-headercustom textAlign attributeHeader cells with alignment state.
TyporaTableCell@tiptap/extension-table-cellcustom textAlign attributeBody cells with alignment state.
Mathematics@tiptap/extension-mathematicsthrowOnError: falseInline and block math rendering.
UniqueID@tiptap/extension-unique-idcustom UUID generator + typed node listStable block IDs for product data workflows.
Placeholder@tiptap/extension-placeholderplaceholder from propEmpty document placeholder text.

Internal behavior extensions

ExtensionWhat it handles
KeyboardBehaviorList/task shortcuts, code block exit (`Mod+Enter`), and writing-oriented key behavior.
HeadingHintBehaviorShows heading hints (`h3~h6`) when focused.
MarkdownPasteBehaviorParses markdown-like clipboard text into rich nodes when appropriate.
FootnoteSyntaxBehaviorFootnote token rendering, reference/back-reference interaction.

Unique ID coverage

`UniqueID` is configured for these node types:
[
  'heading',
  'paragraph',
  'bulletList',
  'orderedList',
  'listItem',
  'blockquote',
  'codeBlock',
]

Optional / not in default stack

  • src/lib/extensions/HybridLink.tsx
`HybridLink` is available as an experimental extension file, but the current default editor stack uses standard `Link` for production stability.

How to add your own extension

import CharacterCount from '@tiptap/extension-character-count'
 
<HybricEditor
  content={doc}
  extensions={[
    CharacterCount.configure({ limit: 20000 }),
  ]}
/>