Merge branch 'master' into feature/code-highlighting

This commit is contained in:
Philipp Kühn
2018-09-04 22:10:36 +02:00
9 changed files with 93 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "tiptap-extensions",
"version": "0.7.0",
"version": "0.7.2",
"description": "Extensions for tiptap",
"homepage": "https://tiptap.scrumpy.io",
"license": "MIT",
@@ -22,7 +22,7 @@
"dependencies": {
"lowlight": "^1.10.0",
"prosemirror-history": "^1.0.2",
"tiptap": "^0.9.0",
"tiptap-commands": "^0.2.4"
"tiptap": "^0.9.2",
"tiptap-commands": "^0.2.5"
}
}

View File

@@ -1,5 +1,5 @@
import { Node } from 'tiptap'
import { splitListItem, liftListItem } from 'tiptap-commands'
import { splitToDefaultListItem, liftListItem } from 'tiptap-commands'
export default class TodoItemNode extends Node {
@@ -58,7 +58,7 @@ export default class TodoItemNode extends Node {
keys({ type }) {
return {
Enter: splitListItem(type),
Enter: splitToDefaultListItem(type),
'Shift-Tab': liftListItem(type),
}
}