Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@remirror/preset-core

remirror184.7kMIT3.0.1TypeScript support: included

The core preset providing the functionality you need and want.

remirror, preset, core, text-editor

readme

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