tiptap/packages/core/index.ts

21 lines
892 B
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'
2020-10-22 15:23:37 +08:00
2020-10-21 21:17:05 +08:00
export * from './src/Extension'
2020-10-22 17:19:49 +08:00
export * from './src/NodeExtension'
export * from './src/MarkExtension'
2020-10-22 15:23:37 +08:00
export * 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'
2020-09-25 04:26:23 +08:00
export { default as getMarkAttrs } from './src/utils/getMarkAttrs'