mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 19:59:02 +08:00
refactoring
This commit is contained in:
parent
5b28ed21a5
commit
2d9aa5a834
@ -1,7 +1,4 @@
|
||||
import { Editor, Command, CommandsSpec } from './src/Editor'
|
||||
|
||||
export default Editor
|
||||
export { Editor, Command, CommandsSpec }
|
||||
export { Editor, Command, CommandsSpec } from './src/Editor'
|
||||
|
||||
export * from './src/Extension'
|
||||
export * from './src/NodeExtension'
|
||||
|
@ -3,7 +3,7 @@ import { Decoration, NodeView } from 'prosemirror-view'
|
||||
import { Extension } from './Extension'
|
||||
import { NodeExtension } from './NodeExtension'
|
||||
import { MarkExtension } from './MarkExtension'
|
||||
import Editor from '..'
|
||||
import { Editor } from './Editor'
|
||||
|
||||
export type Extensions = (Extension | NodeExtension | MarkExtension)[]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user