tiptap/packages/core/src/index.ts

22 lines
739 B
TypeScript
Raw Normal View History

2020-11-11 04:18:22 +08:00
export {
Editor,
Command,
CommandsSpec,
AllExtensions,
} from './Editor'
2020-11-10 23:29:31 +08:00
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'