import { Editor } from "@tiptap/core"; import { Image } from "./Image"; import BasePlugin from "../../base/BasePlugin.js"; class ImagePlugin extends BasePlugin { register(editor: Editor) { editor.extensionManager.extensions.push(Image.configure({ inline: true, })) } } export { ImagePlugin } export default ImagePlugin