docs: update content

This commit is contained in:
Philipp Kühn
2021-06-04 22:40:36 +02:00
parent ab5a81e3a8
commit 592f62ed0e
6 changed files with 23 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
import { Node, Command } from '@tiptap/core'
import { Node } from '@tiptap/core'
export interface IframeOptions {
allowFullscreen: boolean,
@@ -8,12 +8,12 @@ export interface IframeOptions {
}
declare module '@tiptap/core' {
interface Commands {
interface Commands<ReturnType> {
iframe: {
/**
* Add an iframe
*/
setIframe: (options: { src: string }) => Command,
setIframe: (options: { src: string }) => ReturnType,
}
}
}