2019-10-10 10:25:33 +02:00
|
|
|
declare module 'tiptap' {
|
|
|
|
import Vue from 'vue';
|
|
|
|
export class Editor {
|
|
|
|
public constructor({});
|
2019-11-15 18:36:47 +01:00
|
|
|
public commands: {
|
|
|
|
mention: Function,
|
|
|
|
};
|
2019-10-10 10:25:33 +02:00
|
|
|
|
|
|
|
public setOptions({}): void;
|
|
|
|
public setContent(content: string): void;
|
|
|
|
public focus(): void;
|
|
|
|
public getHTML(): string;
|
|
|
|
public destroy(): void;
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Node {}
|
|
|
|
|
|
|
|
export class Plugin {
|
|
|
|
public constructor({});
|
|
|
|
}
|
|
|
|
|
|
|
|
export class EditorMenuBar extends Vue {}
|
|
|
|
|
|
|
|
export class EditorContent extends Vue {}
|
|
|
|
|
|
|
|
export class EditorMenuBubble extends Vue {}
|
|
|
|
}
|