fix build
This commit is contained in:
@@ -2,7 +2,7 @@ import { MarkSpec, MarkType } from 'prosemirror-model'
|
|||||||
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
||||||
import { Editor } from './Editor'
|
import { Editor } from './Editor'
|
||||||
|
|
||||||
interface MarkCallback<Options> {
|
export interface MarkCallback<Options> {
|
||||||
name: string
|
name: string
|
||||||
editor: Editor
|
editor: Editor
|
||||||
options: Options
|
options: Options
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { NodeSpec, NodeType } from 'prosemirror-model'
|
|||||||
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
||||||
import { Editor } from './Editor'
|
import { Editor } from './Editor'
|
||||||
|
|
||||||
interface NodeCallback<Options> {
|
export interface NodeCallback<Options> {
|
||||||
name: string
|
name: string
|
||||||
editor: Editor
|
editor: Editor
|
||||||
options: Options
|
options: Options
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { Extension } from '@tiptap/core'
|
|||||||
import { Plugin } from 'prosemirror-state'
|
import { Plugin } from 'prosemirror-state'
|
||||||
import { DecorationSet, Decoration } from 'prosemirror-view'
|
import { DecorationSet, Decoration } from 'prosemirror-view'
|
||||||
|
|
||||||
interface FocusOptions {
|
export interface FocusOptions {
|
||||||
className: string,
|
className: string,
|
||||||
nested: boolean,
|
nested: boolean,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { textblockTypeInputRule } from 'prosemirror-inputrules'
|
|||||||
|
|
||||||
type Level = 1 | 2 | 3 | 4 | 5 | 6
|
type Level = 1 | 2 | 3 | 4 | 5 | 6
|
||||||
|
|
||||||
interface HeadingOptions {
|
export interface HeadingOptions {
|
||||||
levels: Level[],
|
levels: Level[],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ declare module '@tiptap/core/src/Editor' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface HistoryOptions {
|
export interface HistoryOptions {
|
||||||
historyPluginOptions: Object,
|
historyPluginOptions: Object,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user