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