refactoring

This commit is contained in:
Philipp Kühn 2020-11-06 18:17:32 +01:00
parent 5b28ed21a5
commit 2d9aa5a834
2 changed files with 2 additions and 5 deletions

View File

@ -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'

View File

@ -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)[]