feat: add permission handling

This commit is contained in:
thecodrr
2022-07-04 13:00:13 +05:00
parent b3a5444c91
commit 9f2e57b61a
54 changed files with 352 additions and 81 deletions

View File

@@ -2,7 +2,8 @@ import React from "react";
import { Node as PMNode } from "prosemirror-model";
import { ReactNodeViewOptions, GetPosNode, SelectionBasedReactNodeViewProps, ForwardRef } from "./types";
import { ReactNodeView } from "./react-node-view";
import { Editor, NodeViewRendererProps } from "@tiptap/core";
import { NodeViewRendererProps } from "@tiptap/core";
import { Editor } from "../../types";
/**
* A ReactNodeView that handles React components sensitive
* to selection changes.