@tiptap/extension-bullet-list
Advanced tools
Comparing version 1.0.0-alpha.2 to 2.0.0-alpha.1
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-alpha.1](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bullet-list@1.0.0-alpha.2...@tiptap/extension-bullet-list@2.0.0-alpha.1) (2020-11-18) | ||
**Note:** Version bump only for package @tiptap/extension-bullet-list | ||
# [1.0.0-alpha.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bullet-list@1.0.0-alpha.1...@tiptap/extension-bullet-list@1.0.0-alpha.2) (2020-11-16) | ||
@@ -8,0 +16,0 @@ |
@@ -12,3 +12,3 @@ import { Command, Node } from '@tiptap/core'; | ||
*/ | ||
bulletList: () => Command; | ||
toggleBulletList: () => Command; | ||
}>; | ||
@@ -15,0 +15,0 @@ export default BulletList; |
@@ -29,3 +29,3 @@ 'use strict'; | ||
*/ | ||
bulletList: () => ({ commands }) => { | ||
toggleBulletList: () => ({ commands }) => { | ||
return commands.toggleList('bulletList', 'listItem'); | ||
@@ -37,3 +37,3 @@ }, | ||
return { | ||
'Shift-Control-8': () => this.editor.commands.bulletList(), | ||
'Shift-Control-8': () => this.editor.commands.toggleBulletList(), | ||
}; | ||
@@ -40,0 +40,0 @@ }, |
@@ -25,3 +25,3 @@ import { Node } from '@tiptap/core'; | ||
*/ | ||
bulletList: () => ({ commands }) => { | ||
toggleBulletList: () => ({ commands }) => { | ||
return commands.toggleList('bulletList', 'listItem'); | ||
@@ -33,3 +33,3 @@ }, | ||
return { | ||
'Shift-Control-8': () => this.editor.commands.bulletList(), | ||
'Shift-Control-8': () => this.editor.commands.toggleBulletList(), | ||
}; | ||
@@ -36,0 +36,0 @@ }, |
@@ -28,3 +28,3 @@ (function (global, factory) { | ||
*/ | ||
bulletList: () => ({ commands }) => { | ||
toggleBulletList: () => ({ commands }) => { | ||
return commands.toggleList('bulletList', 'listItem'); | ||
@@ -36,3 +36,3 @@ }, | ||
return { | ||
'Shift-Control-8': () => this.editor.commands.bulletList(), | ||
'Shift-Control-8': () => this.editor.commands.toggleBulletList(), | ||
}; | ||
@@ -39,0 +39,0 @@ }, |
{ | ||
"name": "@tiptap/extension-bullet-list", | ||
"version": "1.0.0-alpha.2", | ||
"version": "2.0.0-alpha.1", | ||
"homepage": "https://tiptap.dev", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@tiptap/core": "2.0.0-alpha.3" | ||
"@tiptap/core": "^2.0.0-alpha.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "a8a578edb78db7763e2eda83960c25b02e8488c5" | ||
"gitHead": "276118e48eef313fb435088dee3dc58b91363109" | ||
} |
@@ -8,3 +8,3 @@ # @tiptap/extension-bullet-list | ||
## Introduction | ||
tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich-text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*. | ||
tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*. | ||
@@ -11,0 +11,0 @@ ## Offical Documentation |
@@ -38,3 +38,3 @@ import { Command, Node } from '@tiptap/core' | ||
*/ | ||
bulletList: (): Command => ({ commands }) => { | ||
toggleBulletList: (): Command => ({ commands }) => { | ||
return commands.toggleList('bulletList', 'listItem') | ||
@@ -47,3 +47,3 @@ }, | ||
return { | ||
'Shift-Control-8': () => this.editor.commands.bulletList(), | ||
'Shift-Control-8': () => this.editor.commands.toggleBulletList(), | ||
} | ||
@@ -50,0 +50,0 @@ }, |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
450727