Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
This commit is contained in:
@@ -10,7 +10,7 @@ import { EditorContent } from '@tiptap/vue'
|
|||||||
import Document from '@tiptap/extension-document'
|
import Document from '@tiptap/extension-document'
|
||||||
import Paragraph from '@tiptap/extension-paragraph'
|
import Paragraph from '@tiptap/extension-paragraph'
|
||||||
import Text from '@tiptap/extension-text'
|
import Text from '@tiptap/extension-text'
|
||||||
// import HardBreak from '@tiptap/extension-hard-break'
|
import HardBreak from '@tiptap/extension-hard-break'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -29,7 +29,7 @@ export default {
|
|||||||
Document(),
|
Document(),
|
||||||
Paragraph(),
|
Paragraph(),
|
||||||
Text(),
|
Text(),
|
||||||
// HardBreak(),
|
HardBreak(),
|
||||||
],
|
],
|
||||||
content: `
|
content: `
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ The HardBreak extensions adds support for the `<br>` HTML tag, which forces a li
|
|||||||
## Options
|
## Options
|
||||||
*None*
|
*None*
|
||||||
|
|
||||||
## Commands
|
|
||||||
## Commands
|
## Commands
|
||||||
| Command | Options | Description |
|
| Command | Options | Description |
|
||||||
| --------- | ------- | ----------------- |
|
| --------- | ------- | ----------------- |
|
||||||
| hardBreak | — | Add a line break. |
|
| hardBreak | — | Add a line break. |
|
||||||
|
|
||||||
## Keyboard shortcuts
|
## Keyboard shortcuts
|
||||||
* Windows & Linux: `Shift` + `Enter`
|
* `Shift` + `Enter`
|
||||||
|
* Windows & Linux: `Control` + `Enter`
|
||||||
* macOS: `Command` + `Enter`
|
* macOS: `Command` + `Enter`
|
||||||
|
|
||||||
## Source Code
|
## Source Code
|
||||||
|
|||||||
Reference in New Issue
Block a user