Detalhes do pacote

@remirror/preset-core

remirror209.5kMIT3.0.1

The core preset providing the functionality you need and want.

remirror, preset, core, text-editor

readme (leia-me)

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