feat: add coordsAtPos and posToClientRect helper methods

This commit is contained in:
Philipp Kühn
2021-04-16 09:56:52 +02:00
parent cadabd09e0
commit 8dab6144a6
3 changed files with 25 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ export { default as markPasteRule } from './pasteRules/markPasteRule'
export { default as callOrReturn } from './utilities/callOrReturn'
export { default as mergeAttributes } from './utilities/mergeAttributes'
export { default as coordsAtPos } from './helpers/coordsAtPos'
export { default as getExtensionField } from './helpers/getExtensionField'
export { default as findChildren } from './helpers/findChildren'
export { default as findParentNode } from './helpers/findParentNode'
@@ -26,6 +27,7 @@ export { default as isNodeActive } from './helpers/isNodeActive'
export { default as isNodeEmpty } from './helpers/isNodeEmpty'
export { default as isNodeSelection } from './helpers/isNodeSelection'
export { default as isTextSelection } from './helpers/isTextSelection'
export { default as posToClientRect } from './helpers/posToClientRect'
export interface Commands {}