Skip to main content

Installation

Slate Plugins is essentially a set of npm packages that can be installed over npm.

You can install all the packages bundled together:

npm install @udecode/slate-plugins

You will also need these peer dependencies (slate >= 0.60):

npm install slate slate-react slate-history slate-hyperscript react react-dom

Alternatively you can install only the packages you need:

npm install @udecode/slate-plugins-alignment
npm install @udecode/slate-plugins-alignment-ui
npm install @udecode/slate-plugins-autoformat
npm install @udecode/slate-plugins-basic-elements
npm install @udecode/slate-plugins-basic-marks
npm install @udecode/slate-plugins-block-quote
npm install @udecode/slate-plugins-block-quote-ui
npm install @udecode/slate-plugins-break
npm install @udecode/slate-plugins-code-block
npm install @udecode/slate-plugins-code-block-ui
npm install @udecode/slate-plugins-common
npm install @udecode/slate-plugins-core
npm install @udecode/slate-plugins-dnd
npm install @udecode/slate-plugins-find-replace
npm install @udecode/slate-plugins-find-replace-ui
npm install @udecode/slate-plugins-heading
npm install @udecode/slate-plugins-highlight
npm install @udecode/slate-plugins-html-serializer
npm install @udecode/slate-plugins-image
npm install @udecode/slate-plugins-image-ui
npm install @udecode/slate-plugins-kbd
npm install @udecode/slate-plugins-link
npm install @udecode/slate-plugins-link-ui
npm install @udecode/slate-plugins-list
npm install @udecode/slate-plugins-list-ui
npm install @udecode/slate-plugins-md-serializer
npm install @udecode/slate-plugins-media-embed
npm install @udecode/slate-plugins-media-embed-ui
npm install @udecode/slate-plugins-mention
npm install @udecode/slate-plugins-mention-ui
npm install @udecode/slate-plugins-node-id
npm install @udecode/slate-plugins-normalizers
npm install @udecode/slate-plugins-paragraph
npm install @udecode/slate-plugins-placeholder
npm install @udecode/slate-plugins-reset-node
npm install @udecode/slate-plugins-select
npm install @udecode/slate-plugins-table
npm install @udecode/slate-plugins-table-ui
npm install @udecode/slate-plugins-toolbar
npm install @udecode/slate-plugins-trailing-block
npm install @udecode/slate-plugins-ui-fluent