mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
fix build
This commit is contained in:
parent
ba744cf6d8
commit
23fbe99a5e
@ -2,7 +2,7 @@ import { MarkSpec, MarkType } from 'prosemirror-model'
|
||||
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
||||
import { Editor } from './Editor'
|
||||
|
||||
interface MarkCallback<Options> {
|
||||
export interface MarkCallback<Options> {
|
||||
name: string
|
||||
editor: Editor
|
||||
options: Options
|
||||
|
@ -2,7 +2,7 @@ import { NodeSpec, NodeType } from 'prosemirror-model'
|
||||
import Extension, { ExtensionCallback, ExtensionExtends } from './Extension'
|
||||
import { Editor } from './Editor'
|
||||
|
||||
interface NodeCallback<Options> {
|
||||
export interface NodeCallback<Options> {
|
||||
name: string
|
||||
editor: Editor
|
||||
options: Options
|
||||
|
@ -2,7 +2,7 @@ import { Extension } from '@tiptap/core'
|
||||
import { Plugin } from 'prosemirror-state'
|
||||
import { DecorationSet, Decoration } from 'prosemirror-view'
|
||||
|
||||
interface FocusOptions {
|
||||
export interface FocusOptions {
|
||||
className: string,
|
||||
nested: boolean,
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { textblockTypeInputRule } from 'prosemirror-inputrules'
|
||||
|
||||
type Level = 1 | 2 | 3 | 4 | 5 | 6
|
||||
|
||||
interface HeadingOptions {
|
||||
export interface HeadingOptions {
|
||||
levels: Level[],
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ declare module '@tiptap/core/src/Editor' {
|
||||
}
|
||||
}
|
||||
|
||||
interface HistoryOptions {
|
||||
export interface HistoryOptions {
|
||||
historyPluginOptions: Object,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user