Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 6.95 KB

plugins.md

File metadata and controls

53 lines (39 loc) · 6.95 KB

Plugins

Here's a list of Slate plugins, organized by category, so that they're easier to find than searching NPM or Yarn.

Behavior

Plugins that add specific behaviors to your editor.

Plugin Description Downloads
slate-auto-replace Automatically transform certain input as a user types.
slate-code Adds code block editing behaviors to an editor
slate-collapse-on-escape Collapse the selection when users hit esc.
slate-drop-or-paste-images Allows users to insert images by drag-dropping or copy-pasting.
slate-lists Adds ordered and unordered list editing behaviors to an editor.
slate-mark-hotkeys Adds common hotkey formatting utils to an editor.
slate-no-empty Prevents documents from being empty.
slate-paste-linkify Automatically linkify URLs when they are pasted.
slate-soft-break Adds soft breaks when users hit enter.
slate-sticky-inlines Changes the inline node behavior to allow editing at the edges.
slate-suggestions Displays inline auto-completed suggestions.
slate-trailing-block Ensure that documents end in a specific kind of block.
slate-instant-replace Automatically transform last word typed.

Find more plugins on npm or yarn.

Components

Components for building Slate editors.

Plugin Description Downloads
slate-editor-icons A set of icons for using in toolbars, etc.

Serializers

Serializers for handling Slate data.

Plugin Description Downloads
slate-base64-serializer A base64 string serializer for Slate documents.
slate-html-serializer An HTML serializer for Slate documents.
slate-plain-serializer A plain text serializer for Slate documents.

Utils

Useful utilities when working with Slate documents and components.

Plugin Description Downloads
slate-hyperprint Prints Slate documents in their slate-hyperscript format.
slate-hyperscript Allows you to express Slate documents in JSX.
slate-prop-types A set of prop types to use in your Slate components.