You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@tiptap/extension-task-list

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-task-list - npm Package Compare versions

Comparing version

to
2.0.0-alpha.11

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-alpha.11](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-alpha.10...@tiptap/extension-task-list@2.0.0-alpha.11) (2021-02-16)
**Note:** Version bump only for package @tiptap/extension-task-list
# [2.0.0-alpha.10](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-task-list@2.0.0-alpha.9...@tiptap/extension-task-list@2.0.0-alpha.10) (2021-02-07)

@@ -8,0 +16,0 @@

16

dist/packages/extension-task-list/src/task-list.d.ts

@@ -7,12 +7,12 @@ import { Command, Node } from '@tiptap/core';

}
export declare const TaskList: Node<TaskListOptions, {
/**
* Toggle a task list
*/
toggleTaskList: () => Command;
}>;
declare module '@tiptap/core' {
interface AllExtensions {
TaskList: typeof TaskList;
interface Commands {
taskList: {
/**
* Toggle a task list
*/
toggleTaskList: () => Command;
};
}
}
export declare const TaskList: Node<TaskListOptions>;

@@ -27,5 +27,2 @@ 'use strict';

return {
/**
* Toggle a task list
*/
toggleTaskList: () => ({ commands }) => {

@@ -32,0 +29,0 @@ return commands.toggleList('taskList', 'taskItem');

@@ -23,5 +23,2 @@ import { Node, mergeAttributes } from '@tiptap/core';

return {
/**
* Toggle a task list
*/
toggleTaskList: () => ({ commands }) => {

@@ -28,0 +25,0 @@ return commands.toggleList('taskList', 'taskItem');

@@ -27,5 +27,2 @@ (function (global, factory) {

return {
/**
* Toggle a task list
*/
toggleTaskList: () => ({ commands }) => {

@@ -32,0 +29,0 @@ return commands.toggleList('taskList', 'taskItem');

{
"name": "@tiptap/extension-task-list",
"description": "task list extension for tiptap",
"version": "2.0.0-alpha.10",
"version": "2.0.0-alpha.11",
"homepage": "https://tiptap.dev",

@@ -27,3 +27,3 @@ "keywords": [

},
"gitHead": "6bdeb4615c7b6afba4a2fcac4e3c35d7a7c0030a"
"gitHead": "71d8fbbcb1eacd664bb6992e0086a589e4684e69"
}

@@ -9,6 +9,17 @@ import { Command, Node, mergeAttributes } from '@tiptap/core'

export const TaskList = Node.create({
declare module '@tiptap/core' {
interface Commands {
taskList: {
/**
* Toggle a task list
*/
toggleTaskList: () => Command,
}
}
}
export const TaskList = Node.create<TaskListOptions>({
name: 'taskList',
defaultOptions: <TaskListOptions>{
defaultOptions: {
HTMLAttributes: {},

@@ -36,6 +47,3 @@ },

return {
/**
* Toggle a task list
*/
toggleTaskList: (): Command => ({ commands }) => {
toggleTaskList: () => ({ commands }) => {
return commands.toggleList('taskList', 'taskItem')

@@ -52,7 +60,1 @@ },

})
declare module '@tiptap/core' {
interface AllExtensions {
TaskList: typeof TaskList,
}
}

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