Skip to content

Commit

Permalink
Remove duplicate plugin file and update useComponentEventListeners bl…
Browse files Browse the repository at this point in the history
…ock comment (#90)

Remove duplicate file and correct block comment
  • Loading branch information
ariellebryn authored Jan 30, 2024
1 parent 105c117 commit 7a8f8a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .yarn/versions/43059fc0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declined:
- "@nytimes/react-prosemirror"
2 changes: 1 addition & 1 deletion src/hooks/useComponentEventListeners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
* Produces a plugin that can be used with ProseMirror to handle DOM
* events at the EditorView.dom element.
*
* - `reactEventsPlugin` is a ProseMirror plugin for handling DOM events
* - `componentEventListenersPlugin` is a ProseMirror plugin for handling DOM events
* at the EditorView.dom element. It should be passed to `useEditorView`,
* along with any other plugins.
*
Expand Down
41 changes: 0 additions & 41 deletions src/plugins/componentEventListenersPlugin.ts

This file was deleted.

0 comments on commit 7a8f8a4

Please sign in to comment.