tiptap/packages/core/index.ts

20 lines
986 B
TypeScript
Raw Normal View History

2020-04-02 20:34:07 +08:00
import { Editor, CommandSpec } from './src/Editor'
2019-12-08 07:16:44 +08:00
2019-12-17 06:20:05 +08:00
export default Editor
2020-04-02 20:34:07 +08:00
export { Editor, CommandSpec }
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
export { default as markInputRule } from './src/inputRules/markInputRule'
export { default as markPasteRule } from './src/pasteRules/markPasteRule'
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'