@udecode/slate-plugins-reset-node
@udecode/slate-plugins-reset-node
npm i @udecode/slate-plugins-reset-node
Deprecated!
Package no longer supported, use @udecode/plate-reset-node instead.
@udecode/slate-plugins-reset-node

@udecode/slate-plugins-reset-node

A plugin framework for building rich text editors with slate.

by udecode

1.0.0-next.61 (see all)License:MITTypeScript:Built-In
npm i @udecode/slate-plugins-reset-node
Readme

slate-plugins

PRs Welcome Tested with Jest

Visit slate-plugins.udecode.io for docs, guides, API and more!

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.63.0 and slate-react@0.65.2

Packages

Core libraries

NameVersionDescription
@udecode/slate-plugins-common@udecode/slate-plugins-common npm package badgeCommon queries, transforms and utilities.
@udecode/slate-plugins-core@udecode/slate-plugins-core npm package badgeCore slate-plugins architecture.

Element Plugins

NameVersionDescription
@udecode/slate-plugins-basic-elements@udecode/slate-plugins-basic-elements npm package badgeBasic elements.
@udecode/slate-plugins-alignment@udecode/slate-plugins-alignment npm package badgeText alignment.
@udecode/slate-plugins-alignment-ui@udecode/slate-plugins-alignment-ui npm package badgeDefault UI for alignment.
@udecode/slate-plugins-block-quote@udecode/slate-plugins-block-quote npm package badgeBlock quotes.
@udecode/slate-plugins-block-quote-ui@udecode/slate-plugins-block-quote-ui npm package badgeDefault UI for block quotes.
@udecode/slate-plugins-code-block@udecode/slate-plugins-code-block npm package badgeCode blocks.
@udecode/slate-plugins-code-block-ui@udecode/slate-plugins-code-block-ui npm package badgeDefault UI for code blocks.
@udecode/slate-plugins-heading@udecode/slate-plugins-heading npm package badgeHeadings (from 1 to 6).
@udecode/slate-plugins-image@udecode/slate-plugins-image npm package badgeImages and pasting images from clipboard.
@udecode/slate-plugins-image-ui@udecode/slate-plugins-image-ui npm package badgeDefault UI for images.
@udecode/slate-plugins-link@udecode/slate-plugins-link npm package badgeHyperlinks.
@udecode/slate-plugins-link-ui@udecode/slate-plugins-link-ui npm package badgeDefault UI for hyperlinks.
@udecode/slate-plugins-list@udecode/slate-plugins-list npm package badgeBulleted, numbered and to-do lists.
@udecode/slate-plugins-list-ui@udecode/slate-plugins-list-ui npm package badgeDefault UI for lists.
@udecode/slate-plugins-media-embed@udecode/slate-plugins-media-embed npm package badgeEmbeddable media such as YouTube or Vimeo videos.
@udecode/slate-plugins-media-embed-ui@udecode/slate-plugins-media-embed-ui npm package badgeDefault UI for embeddable media.
@udecode/slate-plugins-mention@udecode/slate-plugins-mention npm package badgeAutocompleting @mentions and #tags.
@udecode/slate-plugins-mention-ui@udecode/slate-plugins-mention-ui npm package badgeDefault UI for mentions.
@udecode/slate-plugins-paragraph@udecode/slate-plugins-paragraph npm package badgeParagraphs.
@udecode/slate-plugins-table@udecode/slate-plugins-table npm package badgeTables.
@udecode/slate-plugins-table-ui@udecode/slate-plugins-table-ui npm package badgeDefault UI for tables.

Mark Plugins

NameVersionDescription
@udecode/slate-plugins-basic-marks@udecode/slate-plugins-basic-marks npm package badgeBasic text formatting: bold, code, italic, strikethrough, subscript, superscript and underline.
@udecode/slate-plugins-highlight@udecode/slate-plugins-highlight npm package badgeHighlights.
@udecode/slate-plugins-kbd@udecode/slate-plugins-kbd npm package badgeKeyboard input formatting.

Serializer Plugins

NameVersionDescription
@udecode/slate-plugins-html-serializer@udecode/slate-plugins-html-serializer npm package badgeHTML (de)serializing.
@udecode/slate-plugins-md-serializer@udecode/slate-plugins-md-serializer npm package badgeMarkdown (de)serializing.
@udecode/slate-plugins-ast-serializer@udecode/slate-plugins-ast-serializer npm package badgeAST deserializing.
@udecode/slate-plugins-csv-serializer@udecode/slate-plugins-csv-serializer npm package badgeCSV deserializing.

Plugins

NameVersionDescription
@udecode/slate-plugins-slate-plugins@udecode/slate-plugins npm package badgeProvides all packages.
@udecode/slate-plugins-autoformat@udecode/slate-plugins-autoformat npm package badgeAutoformatting actions.
@udecode/slate-plugins-break@udecode/slate-plugins-break npm package badgeSoft-break and exit-break.
@udecode/slate-plugins-dnd@udecode/slate-plugins-dnd npm package badgeDrag and drop with react-dnd.
@udecode/slate-plugins-find-replace@udecode/slate-plugins-find-replace npm package badgeHighlighting searching text.
@udecode/slate-plugins-find-replace-ui@udecode/slate-plugins-find-replace-ui npm package badgeDefault UI for find-replace.
@udecode/slate-plugins-node-id@udecode/slate-plugins-node-id npm package badgeInsert nodes with an id key.
@udecode/slate-plugins-normalizers@udecode/slate-plugins-normalizers npm package badgeEditor normalizers.
@udecode/slate-plugins-reset-node@udecode/slate-plugins-reset-node npm package badgeReset node type.
@udecode/slate-plugins-select@udecode/slate-plugins-select npm package badgeSelection utilities.
@udecode/slate-plugins-styled-components@udecode/slate-plugins-ui-fluent npm package badgeCommon UI utilities with fluentui.
@udecode/slate-plugins-trailing-block@udecode/slate-plugins-trailing-block npm package badgeEnsures a trailing block.
@udecode/slate-plugins-toolbar@udecode/slate-plugins-toolbar npm package badgeToolbar components: balloon, heading, buttons.
@udecode/slate-plugins-test-utils@udecode/slate-plugins-test-utils npm package badgeTest utilities.

Author's Note

@zbeyens: I'm building an app with an editor like many of you and my first initiative was to spend months to share this work, while hundreds of developers were coding and debugging the exact same features. Open-source is a long-term investment for a bug-free product and reducing technical debt, so I can only encourage you to join this collaboration. Our goal is to build a fully-featured editor.

Become a Sponsor!

Contributors

🌟 Stars and 📥 Pull requests are welcome! Don't hesitate to share your plugins here. Read our contributing guide to get started, or find us on Slack, we will take the time to guide you.

Thanks goes to these wonderful people (emoji key):


Ziad Beyens

🚧

Dylan Schiemann

🚧

Horacio Herrera

💻 🔌 💡 🐛 🤔

Eivind Barstad Waaler

💻 🔌 💡 🐛

Petr Sahula

💻 🔌 💡

Mark Vujevits

💻

Alan

💻 🔌 🐛 🤔

cycle-app

💻

Paul

💻 🐛

Daniel Lunde

💻 🔌

Roman Landenband

💻 🔌 💡

Karthikeyan

🔌 💡 🐛

Csaba Benkő

🔌

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

Downloads/wk

244

GitHub Stars

554

LAST COMMIT

NaNyrs ago

MAINTAINERS

2

CONTRIBUTORS

0

OPEN ISSUES

34

OPEN PRs

2
VersionTagPublished
1.0.0-next.61
latest
1yr ago
1.0.0-next.61
next
1yr ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate