@tiptap/react 2.0.0-beta.92 → 2.0.0-beta.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/packages/core/src/Editor.d.ts +2 -2
- package/dist/packages/extension-blockquote/src/blockquote.d.ts +1 -1
- package/dist/packages/extension-bold/src/bold.d.ts +1 -1
- package/dist/packages/extension-bullet-list/src/bullet-list.d.ts +1 -1
- package/dist/packages/extension-code/src/code.d.ts +1 -1
- package/dist/packages/extension-code-block/src/code-block.d.ts +1 -1
- package/dist/packages/extension-code-block-lowlight/src/code-block-lowlight.d.ts +1 -1
- package/dist/packages/extension-heading/src/heading.d.ts +1 -1
- package/dist/packages/extension-highlight/src/highlight.d.ts +1 -1
- package/dist/packages/extension-horizontal-rule/src/horizontal-rule.d.ts +1 -1
- package/dist/packages/extension-image/src/image.d.ts +1 -1
- package/dist/packages/extension-italic/src/italic.d.ts +1 -1
- package/dist/packages/extension-link/src/link.d.ts +1 -1
- package/dist/packages/extension-ordered-list/src/ordered-list.d.ts +1 -1
- package/dist/packages/extension-strike/src/strike.d.ts +1 -1
- package/dist/packages/extension-task-item/src/task-item.d.ts +1 -1
- package/package.json +3 -3
- package/dist/packages/core/src/utilities/removeElement.d.ts +0 -1
|
@@ -3,7 +3,7 @@ import { EditorView } from 'prosemirror-view';
|
|
|
3
3
|
import { Schema, MarkType, NodeType } from 'prosemirror-model';
|
|
4
4
|
import ExtensionManager from './ExtensionManager';
|
|
5
5
|
import EventEmitter from './EventEmitter';
|
|
6
|
-
import { EditorOptions, CanCommands, ChainedCommands, SingleCommands, TextSerializer, EditorEvents } from './types';
|
|
6
|
+
import { EditorOptions, CanCommands, ChainedCommands, JSONContent, SingleCommands, TextSerializer, EditorEvents } from './types';
|
|
7
7
|
import * as extensions from './extensions';
|
|
8
8
|
export { extensions };
|
|
9
9
|
export interface HTMLElement {
|
|
@@ -114,7 +114,7 @@ export declare class Editor extends EventEmitter<EditorEvents> {
|
|
|
114
114
|
/**
|
|
115
115
|
* Get the document as JSON.
|
|
116
116
|
*/
|
|
117
|
-
getJSON():
|
|
117
|
+
getJSON(): JSONContent;
|
|
118
118
|
/**
|
|
119
119
|
* Get the document as HTML.
|
|
120
120
|
*/
|
|
@@ -24,4 +24,4 @@ export declare const starInputRegex: RegExp;
|
|
|
24
24
|
export declare const starPasteRegex: RegExp;
|
|
25
25
|
export declare const underscoreInputRegex: RegExp;
|
|
26
26
|
export declare const underscorePasteRegex: RegExp;
|
|
27
|
-
export declare const Bold: Mark<BoldOptions,
|
|
27
|
+
export declare const Bold: Mark<BoldOptions, any>;
|
|
@@ -23,4 +23,4 @@ declare module '@tiptap/core' {
|
|
|
23
23
|
}
|
|
24
24
|
export declare const backtickInputRegex: RegExp;
|
|
25
25
|
export declare const tildeInputRegex: RegExp;
|
|
26
|
-
export declare const CodeBlock: Node<CodeBlockOptions,
|
|
26
|
+
export declare const CodeBlock: Node<CodeBlockOptions, any>;
|
|
@@ -3,4 +3,4 @@ export interface CodeBlockLowlightOptions extends CodeBlockOptions {
|
|
|
3
3
|
lowlight: any;
|
|
4
4
|
defaultLanguage: string | null | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions,
|
|
6
|
+
export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions, any>;
|
|
@@ -24,4 +24,4 @@ export declare const starInputRegex: RegExp;
|
|
|
24
24
|
export declare const starPasteRegex: RegExp;
|
|
25
25
|
export declare const underscoreInputRegex: RegExp;
|
|
26
26
|
export declare const underscorePasteRegex: RegExp;
|
|
27
|
-
export declare const Italic: Mark<ItalicOptions,
|
|
27
|
+
export declare const Italic: Mark<ItalicOptions, any>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/react",
|
|
3
3
|
"description": "React components for tiptap",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.93",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@tiptap/extension-bubble-menu": "^2.0.0-beta.49",
|
|
36
|
-
"@tiptap/extension-floating-menu": "^2.0.0-beta.
|
|
36
|
+
"@tiptap/extension-floating-menu": "^2.0.0-beta.44",
|
|
37
37
|
"prosemirror-view": "^1.22.0"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"url": "https://github.com/ueberdosis/tiptap",
|
|
42
42
|
"directory": "packages/react"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b88480470d292c87560cb5f1956477e6da2e0467"
|
|
45
45
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function removeElement(element: HTMLElement): void;
|