Installation
First of all, you need these peer dependencies installed:
- npm
- Yarn
npm install slate slate-react slate-history react react-dom
yarn add slate slate-react slate-history react react-dom
Now you can choose between the following installation methods:
With all features
You can install all the packages (core, plugins) bundled together:
- npm
- Yarn
npm install @taze-editor/taze
yarn add @taze-editor/taze
With only plugins you choose
You also can install only the packages you need as listed in the following sections.
- npm
- Yarn
# Install core package
npm install @taze-editor/taze-core
# then install the plugins you need
npm install @taze-editor/taze-plugin-basic-marks
npm install @taze-editor/taze-plugin-search-highlight
# Install core package
yarn add @taze-editor/taze-core
# then install the plugins you need
yarn add @taze-editor/taze-plugin-basic-marks
yarn add @taze-editor/taze-plugin-search-highlight