allow to define everything within extensions
This commit is contained in:
@@ -8,6 +8,8 @@ import { GlobalAttributes, RawCommands, ExtensionConfig } from './types'
|
|||||||
|
|
||||||
declare module '@tiptap/core' {
|
declare module '@tiptap/core' {
|
||||||
interface ExtensionConfig<Options = any> {
|
interface ExtensionConfig<Options = any> {
|
||||||
|
[key: string]: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name
|
* Name
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ import { Editor } from './Editor'
|
|||||||
|
|
||||||
declare module '@tiptap/core' {
|
declare module '@tiptap/core' {
|
||||||
export interface MarkConfig<Options = any> {
|
export interface MarkConfig<Options = any> {
|
||||||
|
[key: string]: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name
|
* Name
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ import { Editor } from './Editor'
|
|||||||
|
|
||||||
declare module '@tiptap/core' {
|
declare module '@tiptap/core' {
|
||||||
interface NodeConfig<Options = any> {
|
interface NodeConfig<Options = any> {
|
||||||
|
[key: string]: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name
|
* Name
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user