@remirror/extension-hard-break
v3.0.1
Published
Add `br` tags to your editor.
Downloads
149,501
Readme
@remirror/extension-hard-break
Add
br
tags to your editor.
Installation
# yarn
yarn add @remirror/extension-hard-break
# pnpm
pnpm add @remirror/extension-hard-break
# npm
npm install @remirror/extension-hard-break
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror/extensions
.
Usage
The following code creates an instance of this extension.
import { HardBreakExtension } from 'remirror/extensions';
const extension = new HardBreakExtension();