2020-11-16 23:58:30 +08:00
|
|
|
export * from './Editor'
|
2020-11-10 23:29:31 +08:00
|
|
|
export * from './Extension'
|
2020-11-16 18:19:43 +08:00
|
|
|
export * from './Node'
|
|
|
|
export * from './Mark'
|
2021-03-17 04:55:40 +08:00
|
|
|
export * from './NodeView'
|
2021-06-05 05:57:41 +08:00
|
|
|
export * from './Tracker'
|
2020-11-10 23:29:31 +08:00
|
|
|
export * from './types'
|
|
|
|
|
|
|
|
export { default as nodeInputRule } from './inputRules/nodeInputRule'
|
|
|
|
export { default as markInputRule } from './inputRules/markInputRule'
|
|
|
|
export { default as markPasteRule } from './pasteRules/markPasteRule'
|
|
|
|
|
2021-02-19 16:54:39 +08:00
|
|
|
export { default as callOrReturn } from './utilities/callOrReturn'
|
|
|
|
export { default as mergeAttributes } from './utilities/mergeAttributes'
|
2021-03-31 19:44:56 +08:00
|
|
|
|
2021-04-16 03:14:33 +08:00
|
|
|
export { default as getExtensionField } from './helpers/getExtensionField'
|
2021-04-03 05:53:04 +08:00
|
|
|
export { default as findChildren } from './helpers/findChildren'
|
2021-05-17 17:29:41 +08:00
|
|
|
export { default as findChildrenInRange } from './helpers/findChildrenInRange'
|
2021-04-03 05:53:04 +08:00
|
|
|
export { default as findParentNode } from './helpers/findParentNode'
|
|
|
|
export { default as findParentNodeClosestToPos } from './helpers/findParentNodeClosestToPos'
|
2020-11-30 16:42:53 +08:00
|
|
|
export { default as generateHTML } from './helpers/generateHTML'
|
2021-05-06 03:24:24 +08:00
|
|
|
export { default as generateJSON } from './helpers/generateJSON'
|
2020-12-01 16:16:46 +08:00
|
|
|
export { default as getSchema } from './helpers/getSchema'
|
2020-11-30 16:42:53 +08:00
|
|
|
export { default as getHTMLFromFragment } from './helpers/getHTMLFromFragment'
|
2021-05-17 19:00:54 +08:00
|
|
|
export { default as getDebugJSON } from './helpers/getDebugJSON'
|
2021-05-17 17:58:27 +08:00
|
|
|
export { default as getAttributes } from './helpers/getAttributes'
|
2020-11-30 16:42:53 +08:00
|
|
|
export { default as getMarkAttributes } from './helpers/getMarkAttributes'
|
2021-05-11 17:22:28 +08:00
|
|
|
export { default as getMarkRange } from './helpers/getMarkRange'
|
|
|
|
export { default as getMarkType } from './helpers/getMarkType'
|
|
|
|
export { default as getMarksBetween } from './helpers/getMarksBetween'
|
2021-05-06 20:52:44 +08:00
|
|
|
export { default as getNodeAttributes } from './helpers/getNodeAttributes'
|
|
|
|
export { default as getNodeType } from './helpers/getNodeType'
|
2020-12-01 16:16:46 +08:00
|
|
|
export { default as isActive } from './helpers/isActive'
|
2021-05-17 17:25:18 +08:00
|
|
|
export { default as isList } from './helpers/isList'
|
2020-12-01 16:16:46 +08:00
|
|
|
export { default as isMarkActive } from './helpers/isMarkActive'
|
|
|
|
export { default as isNodeActive } from './helpers/isNodeActive'
|
2021-03-25 05:23:08 +08:00
|
|
|
export { default as isNodeEmpty } from './helpers/isNodeEmpty'
|
2021-01-25 06:28:51 +08:00
|
|
|
export { default as isNodeSelection } from './helpers/isNodeSelection'
|
|
|
|
export { default as isTextSelection } from './helpers/isTextSelection'
|
2021-04-16 20:44:10 +08:00
|
|
|
export { default as posToDOMRect } from './helpers/posToDOMRect'
|
2020-11-17 04:54:40 +08:00
|
|
|
|
2021-06-05 03:56:29 +08:00
|
|
|
// eslint-disable-next-line
|
|
|
|
export interface Commands<ReturnType = any> {}
|
2021-02-20 00:35:50 +08:00
|
|
|
|
|
|
|
// eslint-disable-next-line
|
|
|
|
export interface ExtensionConfig<Options = any> {}
|
|
|
|
|
|
|
|
// eslint-disable-next-line
|
|
|
|
export interface NodeConfig<Options = any> {}
|
|
|
|
|
|
|
|
// eslint-disable-next-line
|
|
|
|
export interface MarkConfig<Options = any> {}
|