tiptap/packages/core/src/index.ts

17 lines
715 B
TypeScript
Raw Normal View History

2020-11-10 23:29:31 +08:00
export { Editor, Command, CommandsSpec } from './Editor'
export * from './Extension'
export * from './NodeExtension'
export * from './MarkExtension'
export * from './types'
export { default as nodeInputRule } from './inputRules/nodeInputRule'
export { default as markInputRule } from './inputRules/markInputRule'
export { default as markPasteRule } from './pasteRules/markPasteRule'
export { default as getSchema } from './utils/getSchema'
export { default as generateHTML } from './utils/generateHTML'
export { default as getHTMLFromFragment } from './utils/getHTMLFromFragment'
export { default as getMarkAttrs } from './utils/getMarkAttrs'
export { default as mergeAttributes } from './utils/mergeAttributes'