@remirror/preset-core
v3.0.1
Published
The core preset providing the functionality you need and want.
Downloads
146,433
Readme
@remirror/preset-core
The core preset providing the functionality you need and want.
Installation
yarn add @remirror/preset-core # yarn
pnpm add @remirror/preset-core # pnpm
npm install @remirror/preset-core # npm
This package is available via remirror/presets
when you install remirror
.
Usage
When added to your editor it will provide the required nodes, marks to your editor.
import { corePreset, RemirrorManager } from 'remirror';
// Create the Editor Manager with the required preset.
const manager = RemirrorManager.create([...corePreset({ rootContent: 'block*' })]);