F+Foldkit Plus
HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Rich text

Guides

foldkit-richtext

  • Overview
  • Named node references
  • Building operations
  • Commands
  • Mark definitions
  • Application node blocks
  • Transforms
  • Performance
  • Migrations
  • HTML export
  • Rendering a declared mark or node kind
  • Decorations
  • Clipboard slices
  • Undo history
  • Kits
  • Shared documents
  • Current semantics
  • Loading and limits

foldkit-richtext-dom

  • Overview
  • Configuring an editor placement
  • Embed the editor as a form control
  • Position toolbars, block handles, and menus
  • Render a read-only document
  • Hydrate server-rendered editor markup
  • Handle editor Messages
  • Embed the low-level interpreter directly
  • Subpath exports

foldkit-mixins-richtext

  • Overview
  • Pick a block style
  • Build a full formatting toolbar
  • Edit and remove links
  • Render the slash menu
  • Move and reorder blocks with a handle
  • Add table and code block toolbars
  • Find and replace text
  • Outline, footnotes, and command palette
  • Switch to Markdown source mode

foldkit-richtext-markdown

  • Overview
  • Print a document
  • Parse Markdown
  • Type Markdown shortcuts with input rules
  • Edit the Markdown itself
  • Limits

foldkit-richtext-code

  • Overview

foldkit-richtext-code-shiki

  • Overview
  • How Shiki scopes map to decorations

API

foldkit-richtext

  • foldkit-richtext

foldkit-richtext-dom

  • foldkit-richtext-dom
  • foldkit-richtext-dom/editor
  • foldkit-richtext-dom/editor-bundle
  • foldkit-richtext-dom/events
  • foldkit-richtext-dom/host
  • foldkit-richtext-dom/input
  • foldkit-richtext-dom/html
  • foldkit-richtext-dom/toolbar
  • foldkit-richtext-dom/view

foldkit-mixins-richtext

  • foldkit-mixins-richtext

foldkit-richtext-markdown

  • foldkit-richtext-markdown

foldkit-richtext-code

  • foldkit-richtext-code

foldkit-richtext-code-shiki

  • foldkit-richtext-code-shiki

Open source, MIT
Foldkit 0.170 · Effect 4

Rich text / foldkit-mixins-richtext

standardFormattingItems

const · packages/mixins-richtext/src/formatting.ts:129

const standardFormattingItems: ReadonlyArray<FormattingItem>

What a plain bar offers: the marks foldkit-richtext ships, the lists and the quote.

Previousfoldkit-mixins-richtext

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub

Menu

HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Rich text

Guides

foldkit-richtext
  • Overview
  • Named node references
  • Building operations
  • Commands
  • Mark definitions
  • Application node blocks
  • Transforms
  • Performance
  • Migrations
  • HTML export
  • Rendering a declared mark or node kind
  • Decorations
  • Clipboard slices
  • Undo history
  • Kits
  • Shared documents
  • Current semantics
  • Loading and limits
foldkit-richtext-dom
  • Overview
  • Configuring an editor placement
  • Embed the editor as a form control
  • Position toolbars, block handles, and menus
  • Render a read-only document
  • Hydrate server-rendered editor markup
  • Handle editor Messages
  • Embed the low-level interpreter directly
  • Subpath exports
foldkit-mixins-richtext
  • Overview
  • Pick a block style
  • Build a full formatting toolbar
  • Edit and remove links
  • Render the slash menu
  • Move and reorder blocks with a handle
  • Add table and code block toolbars
  • Find and replace text
  • Outline, footnotes, and command palette
  • Switch to Markdown source mode
foldkit-richtext-markdown
  • Overview
  • Print a document
  • Parse Markdown
  • Type Markdown shortcuts with input rules
  • Edit the Markdown itself
  • Limits
foldkit-richtext-code
  • Overview
foldkit-richtext-code-shiki
  • Overview
  • How Shiki scopes map to decorations

API

foldkit-richtext
  • foldkit-richtext
foldkit-richtext-dom
  • foldkit-richtext-dom
  • foldkit-richtext-dom/editor
  • foldkit-richtext-dom/editor-bundle
  • foldkit-richtext-dom/events
  • foldkit-richtext-dom/host
  • foldkit-richtext-dom/input
  • foldkit-richtext-dom/html
  • foldkit-richtext-dom/toolbar
  • foldkit-richtext-dom/view
foldkit-mixins-richtext
  • foldkit-mixins-richtext
foldkit-richtext-markdown
  • foldkit-richtext-markdown
foldkit-richtext-code
  • foldkit-richtext-code
foldkit-richtext-code-shiki
  • foldkit-richtext-code-shiki

Open source, MIT
Foldkit 0.170 · Effect 4