F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Rich text

Guides

foldkit-richtext

  • Overview
  • A small edit
  • 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
  • Sixty seconds: an editor on a page
  • Configuring a placement
  • As a form control
  • Chrome around the editor
  • Showing a document: the read-only renderer
  • On a server-rendered page
  • The editor's Messages
  • Lower level: the interpreter
  • Reference

foldkit-mixins-richtext

  • Overview
  • Who owns what
  • The contract every view keeps
  • Sixty seconds: the mark toolbar
  • The block style picker
  • The link editor
  • The slash menu
  • Icons
  • The block handle
  • The table and code toolbars
  • Find and replace
  • The footnote preview
  • The command palette
  • The status line
  • The Markdown source editor

foldkit-richtext-markdown

  • Overview
  • Print a document
  • Parse Markdown
  • Input rules
  • Edit the Markdown itself
  • Limits

foldkit-richtext-code

  • Overview
  • Highlight JSON

foldkit-richtext-code-shiki

  • Overview
  • What it owns
  • Highlight TypeScript

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.168 · Effect 4

Rich text / foldkit-richtext-dom/events

SLICE_CLIPBOARD_TYPE

const · packages/richtext-dom/src/events.ts:210

const SLICE_CLIPBOARD_TYPE: 'application/x-foldkit-richtext+json'

The clipboard type a Foldkit RichText slice travels under.

Previousfoldkit-richtext-dom/events

Edit on GitHub ↗

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

FoldkitEffectGitHub