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:
Jake Dolan 2021-09-17 18:31:23 -06:00 committed by Hans Pagel
parent 7c57d97cde
commit ce6de2bba4

View File

@ -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()` |
| … | … |