Détail du package

@remirror/preset-formatting

remirror175.5kMIT3.0.1

A preset with all the formatting node and mark extensions included.

remirror, preset, text-editor

readme

@remirror/preset-formatting

A preset with all the formatting node and mark extensions included.

Version Weekly Downloads Bundled size Typed Codebase MIT License


Installation

# yarn
yarn add @remirror/preset-formatting

# pnpm
pnpm add @remirror/preset-formatting

# npm
npm install @remirror/preset-formatting


Usage

The following creates an instance of the preset.

import { formattingPreset } from 'remirror/extensions';

// Create the preset which returns an array of extensions.
const extensions = formattingPreset();