@tiptap/extension-task-list
Advanced tools
Comparing version
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-beta.1...@tiptap/extension-task-list@2.0.0-beta.2) (2021-03-28) | ||
**Note:** Version bump only for package @tiptap/extension-task-list | ||
# [2.0.0-beta.1](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-alpha.11...@tiptap/extension-task-list@2.0.0-beta.1) (2021-03-05) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@tiptap/core")):"function"==typeof define&&define.amd?define(["exports","@tiptap/core"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@tiptap/extension-task-list"]={},t["@tiptap/core"])}(this,(function(t,e){"use strict";const s=e.Node.create({name:"taskList",defaultOptions:{HTMLAttributes:{}},group:"block list",content:"taskItem+",parseHTML:()=>[{tag:'ul[data-type="taskList"]',priority:51}],renderHTML:({HTMLAttributes:t})=>["ul",e.mergeAttributes(t,{"data-type":"taskList"}),0],addCommands:()=>({toggleTaskList:()=>({commands:t})=>t.toggleList("taskList","taskItem")}),addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.toggleTaskList()}}});t.TaskList=s,t.default=s,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@tiptap/core")):"function"==typeof define&&define.amd?define(["exports","@tiptap/core"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@tiptap/extension-task-list"]={},t["@tiptap/core"])}(this,(function(t,e){"use strict";const s=e.Node.create({name:"taskList",defaultOptions:{HTMLAttributes:{}},group:"block list",content:"taskItem+",parseHTML:()=>[{tag:'ul[data-type="taskList"]',priority:51}],renderHTML:({HTMLAttributes:t})=>["ul",e.mergeAttributes(t,{"data-type":"taskList"}),0],addCommands:()=>({toggleTaskList:()=>({commands:t})=>t.toggleList("taskList","taskItem")}),addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});t.TaskList=s,t.default=s,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=tiptap-extension-task-list.bundle.umd.min.js.map |
@@ -34,3 +34,3 @@ 'use strict'; | ||
return { | ||
'Mod-Shift-l': () => this.editor.commands.toggleTaskList(), | ||
'Mod-Shift-9': () => this.editor.commands.toggleTaskList(), | ||
}; | ||
@@ -37,0 +37,0 @@ }, |
@@ -30,3 +30,3 @@ import { Node, mergeAttributes } from '@tiptap/core'; | ||
return { | ||
'Mod-Shift-l': () => this.editor.commands.toggleTaskList(), | ||
'Mod-Shift-9': () => this.editor.commands.toggleTaskList(), | ||
}; | ||
@@ -33,0 +33,0 @@ }, |
@@ -34,3 +34,3 @@ (function (global, factory) { | ||
return { | ||
'Mod-Shift-l': () => this.editor.commands.toggleTaskList(), | ||
'Mod-Shift-9': () => this.editor.commands.toggleTaskList(), | ||
}; | ||
@@ -37,0 +37,0 @@ }, |
{ | ||
"name": "@tiptap/extension-task-list", | ||
"description": "task list extension for tiptap", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"homepage": "https://tiptap.dev", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "67781052b0ac805fbf82099a50e27f1dd28f8061" | ||
"gitHead": "bb1dad7560554608535eb4ce2063518aefed025d" | ||
} |
@@ -54,5 +54,5 @@ import { Command, Node, mergeAttributes } from '@tiptap/core' | ||
return { | ||
'Mod-Shift-l': () => this.editor.commands.toggleTaskList(), | ||
'Mod-Shift-9': () => this.editor.commands.toggleTaskList(), | ||
} | ||
}, | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20081
1.2%