add the documentation for the hardbreak extension
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
# HardBreak
|
||||
Enables you to use the `<br>` HTML tag in the editor.
|
||||
The HardBreak extensions adds support for the `<br>` HTML tag, which forces a line break.
|
||||
|
||||
## Options
|
||||
*None*
|
||||
|
||||
## Commands
|
||||
*None*
|
||||
|
||||
## Keyboard shortcuts
|
||||
* `Command` + `Enter`
|
||||
* `Shift` + `Enter`
|
||||
* Windows & Linux: `Shift` + `Enter`
|
||||
* macOS: `Command` + `Enter`
|
||||
|
||||
## Source Code
|
||||
[packages/extension-hard-break/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-hard-break/)
|
||||
|
||||
## Usage
|
||||
<demo name="Extensions/HardBreak" highlight="13,32" />
|
||||
|
||||
Reference in New Issue
Block a user