@tiptap/extension-heading
Advanced tools
Comparing version 2.0.0-beta.13 to 2.0.0-beta.14
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-beta.14](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-heading@2.0.0-beta.13...@tiptap/extension-heading@2.0.0-beta.14) (2021-06-07) | ||
**Note:** Version bump only for package @tiptap/extension-heading | ||
# [2.0.0-beta.13](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-heading@2.0.0-beta.12...@tiptap/extension-heading@2.0.0-beta.13) (2021-05-18) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Command, Node } from '@tiptap/core'; | ||
import { Node } from '@tiptap/core'; | ||
declare type Level = 1 | 2 | 3 | 4 | 5 | 6; | ||
@@ -8,3 +8,3 @@ export interface HeadingOptions { | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
heading: { | ||
@@ -16,3 +16,3 @@ /** | ||
level: Level; | ||
}) => Command; | ||
}) => ReturnType; | ||
/** | ||
@@ -23,3 +23,3 @@ * Toggle a heading node | ||
level: Level; | ||
}) => Command; | ||
}) => ReturnType; | ||
}; | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "@tiptap/extension-heading", | ||
"description": "heading extension for tiptap", | ||
"version": "2.0.0-beta.13", | ||
"version": "2.0.0-beta.14", | ||
"homepage": "https://tiptap.dev", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "6b154e4c8161fbba987e162ebebc155243432f24" | ||
"gitHead": "5c8e46b0d48aa09ba0d2e8337ae6bbb2d7503e82" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Command, Node, mergeAttributes } from '@tiptap/core' | ||
import { Node, mergeAttributes } from '@tiptap/core' | ||
import { textblockTypeInputRule } from 'prosemirror-inputrules' | ||
@@ -12,3 +12,3 @@ | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
heading: { | ||
@@ -18,7 +18,7 @@ /** | ||
*/ | ||
setHeading: (attributes: { level: Level }) => Command, | ||
setHeading: (attributes: { level: Level }) => ReturnType, | ||
/** | ||
* Toggle a heading node | ||
*/ | ||
toggleHeading: (attributes: { level: Level }) => Command, | ||
toggleHeading: (attributes: { level: Level }) => ReturnType, | ||
} | ||
@@ -25,0 +25,0 @@ } |
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
32738