Skip to main content

Introduction

Slate is a low-level editor framework that helps you deal with difficult parts when building an editor, such as events handlers, elements, formatting, commands, rendering, serializing, normalizing, etc.

While you are trying to build your own editors, it still needs a lot of skills to make something similar to Quill or ProseMirror. This repository allows you to build your editor right away with minimal slate knowledge.

@udecode/slate-plugins is built on top of slate to handle plugins and state management for an optimal development experience. This repository comes with a lot of plugins as elements, marks, serializers, normalizers, queries, transforms, components and so on.

  • ๐ŸŽ Simple Start

You only need one component to get started: <SlatePlugins>

  • ๐Ÿป State Management

zustand store is internally used to support multiple editor states.

  • ๐Ÿ’… Design System

The API is design system friendly. We provide a default design system for quick start but you can plug-in your own one using a single function.

  • ๐Ÿ”Œ 40+ Packages

We enforce separation of concerns by packaging each feature for build optimization and versioning.

  • ๐Ÿ›  Extensible

All plugins accept extensible options and if you need to fork a plugin, all its functions are exported.

  • ๐Ÿ“ฆ Tree-shaking / ES modules
  • โœ… TypeScript types
  • โœ… Unit tested with slate@0.60.11