Add `br` tags to your editor.

Usage no npm install needed!

<script type="module">
  import remirrorExtensionHardBreak from 'https://cdn.skypack.dev/@remirror/extension-hard-break';



Add br tags to your editor.

Version Weekly Downloads Bundled size Typed Codebase MIT License


# 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.


The following code creates an instance of this extension.

import { HardBreakExtension } from 'remirror/extensions';

const extension = new HardBreakExtension();