2021-09-22 01:20:38 +08:00
|
|
|
import * as extensions from './extensions'
|
|
|
|
|
|
|
|
export { extensions }
|
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'
|
2021-10-08 21:02:09 +08:00
|
|
|
export * from './InputRule'
|
|
|
|
export * from './PasteRule'
|
2021-10-14 17:56:40 +08:00
|
|
|
export * from './CommandManager'
|
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'
|
2021-10-08 21:02:09 +08:00
|
|
|
export { default as textblockTypeInputRule } from './inputRules/textblockTypeInputRule'
|
|
|
|
export { default as textInputRule } from './inputRules/textInputRule'
|
|
|
|
export { default as wrappingInputRule } from './inputRules/wrappingInputRule'
|
2020-11-10 23:29:31 +08:00
|
|
|
export { default as markPasteRule } from './pasteRules/markPasteRule'
|
2021-10-08 21:02:09 +08:00
|
|
|
export { default as textPasteRule } from './pasteRules/textPasteRule'
|
2020-11-10 23:29:31 +08:00
|
|
|
|
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'
|
2021-09-10 05:51:05 +08:00
|
|
|
export { default as generateText } from './helpers/generateText'
|
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'
|
2021-09-10 05:51:05 +08:00
|
|
|
export { default as getText } from './helpers/getText'
|
|
|
|
export { default as getTextBetween } from './helpers/getTextBetween'
|
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
|
2021-10-22 14:52:54 +08:00
|
|
|
export interface ExtensionConfig<Options = any, Storage = any> {}
|
2021-02-20 00:35:50 +08:00
|
|
|
|
|
|
|
// eslint-disable-next-line
|
2021-10-22 14:52:54 +08:00
|
|
|
export interface NodeConfig<Options = any, Storage = any> {}
|
2021-02-20 00:35:50 +08:00
|
|
|
|
|
|
|
// eslint-disable-next-line
|
2021-10-22 14:52:54 +08:00
|
|
|
export interface MarkConfig<Options = any, Storage = any> {}
|