Skip to content

Instantly share code, notes, and snippets.

@Chris2011
Created May 31, 2020 21:02
Show Gist options
  • Save Chris2011/511597c9b95850e1fd08fefa93dec9fb to your computer and use it in GitHub Desktop.
Save Chris2011/511597c9b95850e1fd08fefa93dec9fb to your computer and use it in GitHub Desktop.
declare module 'tiptap' {
import Vue from 'vue';
export class Editor {
public constructor({});
public setOptions({}): void;
public setContent(content: string, emitUpdate?: boolean): void;
public getHTML(): string;
public destroy(): void;
}
export class EditorMenuBar extends Vue {}
export class EditorContent extends Vue {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment