mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-10 11:02:47 +08:00
refactoring
This commit is contained in:
parent
7ddc5d7076
commit
ae17bd101c
@ -5,7 +5,7 @@ import { Node } from './Node'
|
||||
import { Mark } from './Mark'
|
||||
import mergeDeep from './utilities/mergeDeep'
|
||||
import {
|
||||
AnyExtension,
|
||||
Extensions,
|
||||
GlobalAttributes,
|
||||
RawCommands,
|
||||
ParentConfig,
|
||||
@ -101,7 +101,7 @@ declare module '@tiptap/core' {
|
||||
options: Options,
|
||||
editor: Editor,
|
||||
parent: ParentConfig<ExtensionConfig<Options>>['addExtensions'],
|
||||
}) => AnyExtension[],
|
||||
}) => Extensions,
|
||||
|
||||
/**
|
||||
* Extend Node Schema
|
||||
|
@ -8,7 +8,7 @@ import { Plugin, Transaction } from 'prosemirror-state'
|
||||
import { InputRule } from 'prosemirror-inputrules'
|
||||
import mergeDeep from './utilities/mergeDeep'
|
||||
import {
|
||||
AnyExtension,
|
||||
Extensions,
|
||||
Attributes,
|
||||
RawCommands,
|
||||
GlobalAttributes,
|
||||
@ -112,7 +112,7 @@ declare module '@tiptap/core' {
|
||||
options: Options,
|
||||
editor: Editor,
|
||||
parent: ParentConfig<MarkConfig<Options>>['addExtensions'],
|
||||
}) => AnyExtension[],
|
||||
}) => Extensions,
|
||||
|
||||
/**
|
||||
* Extend Node Schema
|
||||
|
@ -8,7 +8,7 @@ import { Plugin, Transaction } from 'prosemirror-state'
|
||||
import { InputRule } from 'prosemirror-inputrules'
|
||||
import mergeDeep from './utilities/mergeDeep'
|
||||
import {
|
||||
AnyExtension,
|
||||
Extensions,
|
||||
Attributes,
|
||||
NodeViewRenderer,
|
||||
GlobalAttributes,
|
||||
@ -112,7 +112,7 @@ declare module '@tiptap/core' {
|
||||
options: Options,
|
||||
editor: Editor,
|
||||
parent: ParentConfig<NodeConfig<Options>>['addExtensions'],
|
||||
}) => AnyExtension[],
|
||||
}) => Extensions,
|
||||
|
||||
/**
|
||||
* Extend Node Schema
|
||||
|
Loading…
Reference in New Issue
Block a user