npm.io
3.0.2 • Published 1 year ago

@remirror/preset-core

Licence
MIT
Version
3.0.2
Deps
9
Size
73 kB
Vulns
0
Weekly
0
Stars
3.0K

@remirror/preset-core

The core preset providing the functionality you need and want.

Version Weekly Downloads Bundled size Typed Codebase MIT License


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*' })]);

Keywords