Skip to content

Commit

Permalink
Clean up inputstate stuff a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
smoores-dev committed Aug 4, 2023
1 parent f9b75b2 commit ec59a5a
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 486 deletions.
1 change: 0 additions & 1 deletion src/components/EditorView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { EditorViewInternal } from "../prosemirror-internal/EditorViewInternal.j
import * as browser from "../prosemirror-internal/browser.js";
import {
DOMNode,
DOMSelection,
deepActiveElement,
safariShadowSelectionRange,
} from "../prosemirror-internal/dom.js";
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useContentEditable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function useContentEditable(
viewRef.current,
viewRef.current.state.selection.from,
viewRef.current.state.selection.to,
event.data ?? ""
event.data
)
) {
event.preventDefault();
Expand Down
336 changes: 0 additions & 336 deletions src/prosemirror-internal/capturekeys.ts

This file was deleted.

Loading

0 comments on commit ec59a5a

Please sign in to comment.