Skip to content

Horizontal Rule

Horizontal Rule is a node extension that allows you to add a horizontal rule to your editor.

Usage

tsx
import { HorizontalRule } from 'reactjs-tiptap-editor/horizontalrule'; 

const extensions = [
  ...,
  // Import Extensions Here
  HorizontalRule 
];

Options

shortcutKeys

Type: string[]
Default: ['mod', 'alt', 'S']

Keyboard shortcuts for the extension.

Source

SourceDocs

Contributors

Changelog

v0.3.28 on 10/13/2025
20125 - feat: add shortcutKeys override(s) to extensions

Made with ❤️