@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
17 lines (16 loc) • 922 B
TypeScript
import { DefaultInlineContentSchema, DefaultStyleSchema, InlineContentSchema, StyleSchema } from "@blocknote/core";
import { FC } from "react";
import { ExtendButtonProps } from "./ExtendButton/ExtendButtonProps.js";
import { TableCellButtonProps } from "./TableCellButtonProps.js";
import { TableHandleProps } from "./TableHandleProps.js";
export declare const TableHandlesController: <I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(props: {
tableCellHandle?: FC<TableCellButtonProps>;
tableHandle?: FC<TableHandleProps>;
extendButton?: FC<ExtendButtonProps>;
/**
* Override the DOM node this floating element portals into. Falls back to
* `editor.portalElement` (which by default is mounted inside `bn-container`)
* when omitted.
*/
portalElement?: HTMLElement | null;
}) => import("react/jsx-runtime").JSX.Element | null;