Merge branch 'main' of github.com:ueberdosis/tiptap into main

This commit is contained in:
Hans Pagel
2021-05-11 23:35:21 +02:00

View File

@@ -64,22 +64,17 @@ We switched to lowerCamelCase, so theres a lot type names that changed. If yo
| Old type | New type | | Old type | New type |
| --------------------- | ---------------------- | | --------------------- | ---------------------- |
| ~~`blockquote`~~ | `blockquote` |
| ~~`bold`~~ | `bold` |
| ~~`bullet_list`~~ | `bulletList` | | ~~`bullet_list`~~ | `bulletList` |
| ~~`code`~~ | `code` |
| ~~`code_block`~~ | `codeBlock` | | ~~`code_block`~~ | `codeBlock` |
| ~~`hard_break`~~ | `hardBreak` | | ~~`hard_break`~~ | `hardBreak` |
| ~~`heading`~~ | `heading` |
| ~~`horizontal_rule`~~ | `horizontalRule` | | ~~`horizontal_rule`~~ | `horizontalRule` |
| ~~`italic`~~ | `italic` | | ~~`list_item`~~ | `listItem` |
| ~~`link`~~ | `link` |
| ~~`ordered_list`~~ | `orderedList` | | ~~`ordered_list`~~ | `orderedList` |
| ~~`paragraph`~~ | `paragraph` | | ~~`table_cell`~~ | `tableCell` |
| ~~`strike`~~ | `strike` | | ~~`table_header`~~ | `tableHeader` |
| ~~`table_row`~~ | `tableRow` |
| ~~`todo_list`~~ | `taskList` (new name!) | | ~~`todo_list`~~ | `taskList` (new name!) |
| ~~`underline`~~ | `underline` | | ~~`todo_item`~~ | `taskItem` (new name!) |
| … | … |
### Removed methods ### Removed methods
We removed the `.state()` method. No worries though, its still available through `editor.state`. We removed the `.state()` method. No worries though, its still available through `editor.state`.