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

14 lines • 384 B
import type { YooEditor } from '../types'; /** * Check if path is empty (no current block) * * @param editor - YooEditor instance * @returns True if path is empty, false otherwise * * @example * ```typescript * const isEmpty = Selection.isEmpty(editor); * ``` */ export declare function isEmpty(editor: YooEditor): boolean; //# sourceMappingURL=isEmpty.d.ts.map