@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
11 lines • 438 B
TypeScript
import type { YooEditor, YooptaBlockData } from '../editor/types';
/**
* Clears the cached plugins map for the editor.
* Call this when plugins are modified.
*/
export declare function clearDeserializeCache(editor: YooEditor): void;
/**
* Deserializes HTML into Yoopta blocks.
*/
export declare function deserializeHTML(editor: YooEditor, html: HTMLElement): YooptaBlockData[];
//# sourceMappingURL=deserializeHTML.d.ts.map