improve the hardbreak demo and add tests

This commit is contained in:
Hans Pagel
2020-09-10 12:11:42 +02:00
parent 72d262c9fc
commit c2570d6adc
4 changed files with 30 additions and 2 deletions

View File

@@ -18,4 +18,4 @@ The HardBreak extensions adds support for the `<br>` HTML tag, which forces a li
[packages/extension-hard-break/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-hard-break/)
## Usage
<demo name="Extensions/HardBreak" highlight="13,32" />
<demo name="Extensions/HardBreak" highlight="3-5,17,36" />