UNPKG

@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

32 lines • 1.34 kB
import { insertBlock } from './insertBlock'; import { deleteBlock } from './deleteBlock'; import { moveBlock } from './moveBlock'; import { focusBlock } from './focusBlock'; import { splitBlock } from './splitBlock'; import { increaseBlockDepth } from './increaseBlockDepth'; import { decreaseBlockDepth } from './decreaseBlockDepth'; import { duplicateBlock } from './duplicateBlock'; import { updateBlock } from './updateBlock'; import { toggleBlock } from './toggleBlock'; import { getBlock } from './getBlock'; import { getBlockSlate } from './getBlockSlate'; import { mergeBlock } from './mergeBlock'; import { buildBlockData } from './buildBlockData'; export declare const Blocks: { insertBlock: typeof insertBlock; deleteBlock: typeof deleteBlock; moveBlock: typeof moveBlock; focusBlock: typeof focusBlock; splitBlock: typeof splitBlock; increaseBlockDepth: typeof increaseBlockDepth; decreaseBlockDepth: typeof decreaseBlockDepth; duplicateBlock: typeof duplicateBlock; updateBlock: typeof updateBlock; toggleBlock: typeof toggleBlock; getBlock: typeof getBlock; getBlockSlate: typeof getBlockSlate; buildBlockData: typeof buildBlockData; mergeBlock: typeof mergeBlock; }; export type Blocks = typeof Blocks; //# sourceMappingURL=index.d.ts.map