tiptap/packages/core/index.ts

20 lines
831 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-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'
export { default as getSchema } from './src/utils/getSchema'
2020-10-29 00:20:38 +08:00
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'
2020-10-26 05:11:53 +08:00
export { default as mergeAttributes } from './src/utils/mergeAttributes'