remove gridsome
This commit is contained in:
30
docs/api/nodes/hard-break.md
Normal file
30
docs/api/nodes/hard-break.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# HardBreak
|
||||
[](https://www.npmjs.com/package/@tiptap/extension-hard-break)
|
||||
[](https://npmcharts.com/compare/@tiptap/extension-hard-break?minimal=true)
|
||||
|
||||
The HardBreak extensions adds support for the `<br>` HTML tag, which forces a line break.
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
# with npm
|
||||
npm install @tiptap/extension-hard-break
|
||||
|
||||
# with Yarn
|
||||
yarn add @tiptap/extension-hard-break
|
||||
```
|
||||
|
||||
## Commands
|
||||
| Command | Parameters | Description |
|
||||
| --------- | ---------- | ----------------- |
|
||||
| hardBreak | — | Add a line break. |
|
||||
|
||||
## Keyboard shortcuts
|
||||
* `Shift` `Enter`
|
||||
* Windows/Linux: `Control` `Enter`
|
||||
* macOS: `Cmd` `Enter`
|
||||
|
||||
## Source code
|
||||
[packages/extension-hard-break/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-hard-break/)
|
||||
|
||||
## Usage
|
||||
<tiptap-demo name="Nodes/HardBreak"></tiptap-demo>
|
||||
Reference in New Issue
Block a user