@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
27 lines • 1.61 kB
TypeScript
import { deleteElement } from './deleteElement';
import { getElement } from './getElement';
import { getElementChildren } from './getElementChildren';
import { getElementEntry } from './getElementEntry';
import { getElementPath } from './getElementPath';
import { getElementRect } from './getElementRect';
import { getElements } from './getElements';
import { getParentElementPath } from './getParentElementPath';
import { insertElement } from './insertElement';
import { isElementEmpty } from './isElementEmpty';
import { updateElement } from './updateElement';
export declare const Elements: {
insertElement: typeof insertElement;
updateElement: typeof updateElement;
deleteElement: typeof deleteElement;
getElement: typeof getElement;
getElements: typeof getElements;
getElementEntry: typeof getElementEntry;
getElementPath: typeof getElementPath;
getElementRect: typeof getElementRect;
getParentElementPath: typeof getParentElementPath;
getElementChildren: typeof getElementChildren;
isElementEmpty: typeof isElementEmpty;
};
export { deleteElement, getElement, getElementChildren, getElementEntry, getElementPath, getElementRect, getElements, getParentElementPath, insertElement, isElementEmpty, updateElement, };
export type { DeleteElementOptions, ElementMatcher, ElementPath, GetElementChildrenOptions, GetElementEntryOptions, GetElementOptions, GetElementPathOptions, GetElementRectOptions, GetElementsOptions, InsertElementOptions, IsElementEmptyOptions, UpdateElementOptions, } from './types';
//# sourceMappingURL=index.d.ts.map