tiptap/packages/core/src/index.ts

70 lines
2.3 KiB
TypeScript
Raw Normal View History

import * as extensions from './extensions'
export { extensions }
export * from './Editor'
2020-11-10 23:29:31 +08:00
export * from './Extension'
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'
export * from './InputRule'
export * from './PasteRule'
export * from './CommandManager'
2020-11-10 23:29:31 +08:00
export * from './types'
export * from './inputRules/nodeInputRule'
export * from './inputRules/markInputRule'
export * from './inputRules/textblockTypeInputRule'
export * from './inputRules/textInputRule'
export * from './inputRules/wrappingInputRule'
export * from './pasteRules/markPasteRule'
export * from './pasteRules/textPasteRule'
2020-11-10 23:29:31 +08:00
export * from './utilities/callOrReturn'
export * from './utilities/escapeForRegEx'
export * from './utilities/mergeAttributes'
2021-03-31 19:44:56 +08:00
export * from './helpers/combineTransactionSteps'
export * from './helpers/defaultBlockAt'
export * from './helpers/getExtensionField'
export * from './helpers/findChildren'
export * from './helpers/findChildrenInRange'
export * from './helpers/findParentNode'
export * from './helpers/findParentNodeClosestToPos'
export * from './helpers/generateHTML'
export * from './helpers/generateJSON'
export * from './helpers/generateText'
export * from './helpers/getChangedRanges'
export * from './helpers/getSchema'
export * from './helpers/getHTMLFromFragment'
export * from './helpers/getDebugJSON'
export * from './helpers/getAttributes'
export * from './helpers/getMarkAttributes'
export * from './helpers/getMarkRange'
export * from './helpers/getMarkType'
export * from './helpers/getMarksBetween'
export * from './helpers/getNodeAttributes'
export * from './helpers/getNodeType'
export * from './helpers/getText'
export * from './helpers/getTextBetween'
export * from './helpers/isActive'
export * from './helpers/isList'
export * from './helpers/isMarkActive'
export * from './helpers/isNodeActive'
export * from './helpers/isNodeEmpty'
export * from './helpers/isNodeSelection'
export * from './helpers/isTextSelection'
export * 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> {}