@tiptap/starter-kit
Advanced tools
Comparing version 2.5.8 to 2.5.9
@@ -341,4 +341,4 @@ import { Plugin, Transaction } from '@tiptap/pm/state'; | ||
static create<O = any, S = any>(config?: Partial<ExtensionConfig<O, S>>): Extension<O, S>; | ||
configure(options?: Partial<Options>): Extension<any, any>; | ||
configure(options?: Partial<Options>): Extension<Options, Storage>; | ||
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<ExtensionConfig<ExtendedOptions, ExtendedStorage>>): Extension<ExtendedOptions, ExtendedStorage>; | ||
} |
import { Node as ProseMirrorNode } from '@tiptap/pm/model'; | ||
/** | ||
* Returns true if the given node is empty. | ||
* When `checkChildren` is true (default), it will also check if all children are empty. | ||
* Returns true if the given prosemirror node is empty. | ||
*/ | ||
export declare function isNodeEmpty(node: ProseMirrorNode, { checkChildren }?: { | ||
checkChildren: boolean; | ||
export declare function isNodeEmpty(node: ProseMirrorNode, { checkChildren, ignoreWhitespace, }?: { | ||
/** | ||
* When true (default), it will also check if all children are empty. | ||
*/ | ||
checkChildren?: boolean; | ||
/** | ||
* When true, it will ignore whitespace when checking for emptiness. | ||
*/ | ||
ignoreWhitespace?: boolean; | ||
}): boolean; |
@@ -445,3 +445,3 @@ import { DOMOutputSpec, Mark as ProseMirrorMark, MarkSpec, MarkType } from '@tiptap/pm/model'; | ||
static create<O = any, S = any>(config?: Partial<MarkConfig<O, S>>): Mark<O, S>; | ||
configure(options?: Partial<Options>): Mark<any, any>; | ||
configure(options?: Partial<Options>): Mark<Options, Storage>; | ||
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>; | ||
@@ -448,0 +448,0 @@ static handleExit({ editor, mark }: { |
@@ -609,4 +609,4 @@ import { DOMOutputSpec, Node as ProseMirrorNode, NodeSpec, NodeType } from '@tiptap/pm/model'; | ||
static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>>): Node<O, S>; | ||
configure(options?: Partial<Options>): Node<any, any>; | ||
configure(options?: Partial<Options>): Node<Options, Storage>; | ||
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node<ExtendedOptions, ExtendedStorage>; | ||
} |
@@ -19,2 +19,8 @@ import { Node } from '@tiptap/core'; | ||
/** | ||
* The default language. | ||
* @default null | ||
* @example 'js' | ||
*/ | ||
defaultLanguage: string | null | undefined; | ||
/** | ||
* Custom HTML attributes that should be added to the rendered HTML tag. | ||
@@ -21,0 +27,0 @@ * @default {} |
{ | ||
"name": "@tiptap/starter-kit", | ||
"description": "starter kit for tiptap", | ||
"version": "2.5.8", | ||
"version": "2.5.9", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,21 +32,21 @@ "keywords": [ | ||
"dependencies": { | ||
"@tiptap/core": "^2.5.8", | ||
"@tiptap/extension-blockquote": "^2.5.8", | ||
"@tiptap/extension-bold": "^2.5.8", | ||
"@tiptap/extension-bullet-list": "^2.5.8", | ||
"@tiptap/extension-code": "^2.5.8", | ||
"@tiptap/extension-code-block": "^2.5.8", | ||
"@tiptap/extension-document": "^2.5.8", | ||
"@tiptap/extension-dropcursor": "^2.5.8", | ||
"@tiptap/extension-gapcursor": "^2.5.8", | ||
"@tiptap/extension-hard-break": "^2.5.8", | ||
"@tiptap/extension-heading": "^2.5.8", | ||
"@tiptap/extension-history": "^2.5.8", | ||
"@tiptap/extension-horizontal-rule": "^2.5.8", | ||
"@tiptap/extension-italic": "^2.5.8", | ||
"@tiptap/extension-list-item": "^2.5.8", | ||
"@tiptap/extension-ordered-list": "^2.5.8", | ||
"@tiptap/extension-paragraph": "^2.5.8", | ||
"@tiptap/extension-strike": "^2.5.8", | ||
"@tiptap/extension-text": "^2.5.8" | ||
"@tiptap/core": "^2.5.9", | ||
"@tiptap/extension-blockquote": "^2.5.9", | ||
"@tiptap/extension-bold": "^2.5.9", | ||
"@tiptap/extension-bullet-list": "^2.5.9", | ||
"@tiptap/extension-code": "^2.5.9", | ||
"@tiptap/extension-code-block": "^2.5.9", | ||
"@tiptap/extension-document": "^2.5.9", | ||
"@tiptap/extension-dropcursor": "^2.5.9", | ||
"@tiptap/extension-gapcursor": "^2.5.9", | ||
"@tiptap/extension-hard-break": "^2.5.9", | ||
"@tiptap/extension-heading": "^2.5.9", | ||
"@tiptap/extension-history": "^2.5.9", | ||
"@tiptap/extension-horizontal-rule": "^2.5.9", | ||
"@tiptap/extension-italic": "^2.5.9", | ||
"@tiptap/extension-list-item": "^2.5.9", | ||
"@tiptap/extension-ordered-list": "^2.5.9", | ||
"@tiptap/extension-paragraph": "^2.5.9", | ||
"@tiptap/extension-strike": "^2.5.9", | ||
"@tiptap/extension-text": "^2.5.9" | ||
}, | ||
@@ -53,0 +53,0 @@ "repository": { |
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
223045
5026
Updated@tiptap/core@^2.5.9