tiptap/packages/core/index.ts

23 lines
1.2 KiB
TypeScript
Raw Normal View History

2020-09-23 05:34:18 +08:00
import { Editor, Command, CommandsSpec } from './src/Editor'
2019-12-08 07:16:44 +08:00
2019-12-17 06:20:05 +08:00
export default Editor
2020-09-23 05:34:18 +08:00
export { Editor, Command, CommandsSpec }
2020-04-26 04:40:38 +08:00
export { default as ComponentRenderer } from './src/ComponentRenderer'
2019-12-17 06:20:05 +08:00
export { default as Extension } from './src/Extension'
2020-03-30 18:40:25 +08:00
export { default as Node } from './src/Node'
2020-04-02 14:53:59 +08:00
export { default as Mark } from './src/Mark'
2020-09-04 19:44:13 +08:00
export { Extensions } from './src/types'
2020-04-02 14:53:59 +08:00
2020-09-10 18:28:14 +08:00
export { default as nodeInputRule } from './src/inputRules/nodeInputRule'
2020-04-02 14:53:59 +08:00
export { default as markInputRule } from './src/inputRules/markInputRule'
export { default as markPasteRule } from './src/pasteRules/markPasteRule'
2020-09-30 23:12:34 +08:00
export { default as capitalize } from './src/utils/capitalize'
export { default as getSchema } from './src/utils/getSchema'
export { default as generateHtml } from './src/utils/generateHtml'
export { default as getHtmlFromFragment } from './src/utils/getHtmlFromFragment'
export { default as getTopNodeFromExtensions } from './src/utils/getTopNodeFromExtensions'
export { default as getNodesFromExtensions } from './src/utils/getNodesFromExtensions'
export { default as getMarksFromExtensions } from './src/utils/getMarksFromExtensions'
2020-09-25 04:26:23 +08:00
export { default as getMarkAttrs } from './src/utils/getMarkAttrs'