import {createContext} from "react";
import {Editor} from "@tiptap/core";

export interface EditorContextProps {
    editor: Editor | null
}

export const EditorContext = createContext<EditorContextProps>({
    editor: null
});
