Skip to content

Commit

Permalink
Fixed import
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Oct 4, 2024
1 parent b244beb commit c059efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/slate-dom/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Plugin
export { DOMEditor } from './plugin/dom-editor'
export { DOMEditor, type DOMEditorInterface } from './plugin/dom-editor'
export { withDOM } from './plugin/with-dom'

// Utils
Expand Down
3 changes: 1 addition & 2 deletions packages/slate-react/src/plugin/react-editor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { DOMEditor } from 'slate-dom'
import { DOMEditorInterface } from 'slate-dom/dist/plugin/dom-editor'
import { DOMEditor, type DOMEditorInterface } from 'slate-dom'

/**
* A React and DOM-specific version of the `Editor` interface.
Expand Down

0 comments on commit c059efd

Please sign in to comment.