mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
Update upgrade-guide.md
The commands toggleHardBreak(), toggleHorizontalRule(), toggleParagraph() do not exist. Updating the documentation to reflect the existing commands setHardBreak(), setHorizontalRule(), setParagraph().
This commit is contained in:
parent
7c57d97cde
commit
ce6de2bba4
@ -136,13 +136,13 @@ All new extensions come with specific commands to set, unset and toggle styles.
|
||||
| ~~`.bullet_list()`~~ | `.toggleBulletList()` |
|
||||
| ~~`.code()`~~ | `.toggleCode()` |
|
||||
| ~~`.code_block()`~~ | `.toggleCodeBlock()` |
|
||||
| ~~`.hard_break()`~~ | `.toggleHardBreak()` |
|
||||
| ~~`.hard_break()`~~ | `.setHardBreak()` |
|
||||
| ~~`.heading()`~~ | `.toggleHeading()` |
|
||||
| ~~`.horizontal_rule()`~~ | `.toggleHorizontalRule()` |
|
||||
| ~~`.horizontal_rule()`~~ | `.setHorizontalRule()` |
|
||||
| ~~`.italic()`~~ | `.toggleItalic()` |
|
||||
| ~~`.link()`~~ | `.toggleLink()` |
|
||||
| ~~`.ordered_list()`~~ | `.toggleOrderedList()` |
|
||||
| ~~`.paragraph()`~~ | `.toggleParagraph()` |
|
||||
| ~~`.paragraph()`~~ | `.setParagraph()` |
|
||||
| ~~`.strike()`~~ | `.toggleStrike()` |
|
||||
| ~~`.underline()`~~ | `.toggleUnderline()` |
|
||||
| … | … |
|
||||
|
Loading…
Reference in New Issue
Block a user