@tiptap/core
Advanced tools
| type Attributes = Record<string, any>; | ||
| type DOMOutputSpecElement = 0 | Attributes | DOMOutputSpecArray; | ||
| /** | ||
| * Better describes the output of a `renderHTML` function in prosemirror | ||
| * @see https://prosemirror.net/docs/ref/#model.DOMOutputSpec | ||
| */ | ||
| type DOMOutputSpecArray = [string] | [string, Attributes] | [string, 0] | [string, Attributes, 0] | [string, Attributes, DOMOutputSpecArray | 0] | [string, DOMOutputSpecArray]; | ||
| declare namespace JSX { | ||
| type Element = DOMOutputSpecArray; | ||
| interface IntrinsicElements { | ||
| [key: string]: any; | ||
| } | ||
| interface ElementChildrenAttribute { | ||
| children: unknown; | ||
| } | ||
| } | ||
| type JSXRenderer = (tag: 'slot' | string | ((props?: Attributes) => DOMOutputSpecArray | DOMOutputSpecElement), props?: Attributes, ...children: JSXRenderer[]) => DOMOutputSpecArray | DOMOutputSpecElement; | ||
| declare function Fragment(props: { | ||
| children: JSXRenderer[]; | ||
| }): JSXRenderer[]; | ||
| declare const h: JSXRenderer; | ||
| export { type Attributes, type DOMOutputSpecArray, type DOMOutputSpecElement, Fragment, JSX, type JSXRenderer, h as createElement, h, h as jsx, h as jsxDEV, h as jsxs }; |
| type Attributes = Record<string, any>; | ||
| type DOMOutputSpecElement = 0 | Attributes | DOMOutputSpecArray; | ||
| /** | ||
| * Better describes the output of a `renderHTML` function in prosemirror | ||
| * @see https://prosemirror.net/docs/ref/#model.DOMOutputSpec | ||
| */ | ||
| type DOMOutputSpecArray = [string] | [string, Attributes] | [string, 0] | [string, Attributes, 0] | [string, Attributes, DOMOutputSpecArray | 0] | [string, DOMOutputSpecArray]; | ||
| declare namespace JSX { | ||
| type Element = DOMOutputSpecArray; | ||
| interface IntrinsicElements { | ||
| [key: string]: any; | ||
| } | ||
| interface ElementChildrenAttribute { | ||
| children: unknown; | ||
| } | ||
| } | ||
| type JSXRenderer = (tag: 'slot' | string | ((props?: Attributes) => DOMOutputSpecArray | DOMOutputSpecElement), props?: Attributes, ...children: JSXRenderer[]) => DOMOutputSpecArray | DOMOutputSpecElement; | ||
| declare function Fragment(props: { | ||
| children: JSXRenderer[]; | ||
| }): JSXRenderer[]; | ||
| declare const h: JSXRenderer; | ||
| export { type Attributes, type DOMOutputSpecArray, type DOMOutputSpecElement, Fragment, JSX, type JSXRenderer, h as createElement, h, h as jsx, h as jsxDEV, h as jsxs }; |
+3
-3
| { | ||
| "name": "@tiptap/core", | ||
| "version": "3.26.0", | ||
| "version": "3.26.1", | ||
| "description": "headless rich text editor", | ||
@@ -61,6 +61,6 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@tiptap/pm": "^3.26.0" | ||
| "@tiptap/pm": "^3.26.1" | ||
| }, | ||
| "peerDependencies": { | ||
| "@tiptap/pm": "3.26.0" | ||
| "@tiptap/pm": "3.26.1" | ||
| }, | ||
@@ -67,0 +67,0 @@ "scripts": { |
2410573
0.09%217
0.93%33007
0.07%