@yoopta/editor
Version:
<h2 align="center">Yoopta-Editor v1 🎉</h2> <p align="center">Yoopta-Editor - is an open source notion-like editor 💥</p> <div align="center"> <img width="574" alt="Screen Shot 2023-01-25 at 16 04 29" src="https://user-images.githubusercontent.com/2909311
8 lines • 457 B
TypeScript
import { Location, NodeEntry, Span } from 'slate';
import { SlateElement, YooEditor } from '../types';
export type GetBlockElementEntryOptions = {
path?: Location | Span | undefined;
type?: string;
};
export declare function getElementEntry<TElementKeys extends string>(editor: YooEditor, blockId: string, options?: GetBlockElementEntryOptions): NodeEntry<SlateElement<TElementKeys>> | undefined;
//# sourceMappingURL=getElementEntry.d.ts.map