draft-js icon indicating copy to clipboard operation
draft-js copied to clipboard

_onMouseDown not used

Open brenmcnamara opened this issue 7 years ago • 3 comments

Hi,

I was looking through the code and saw that the DraftEditor.react.js file defined a _onMouseDown function here, though that function is not actually being registered with the component. This seemed strange to me since every other handler was registered except this one. It's not being used anywhere. I'm sure this is not causing any bugs at the moment, but it seems like an oversight, so I wanted to create an issue so it's on the radar.

I'd be happy to submit a quick pull request if this is a bug.

brenmcnamara avatar Jan 09 '19 04:01 brenmcnamara

It does look like a bug AFAICT. PRs are appreciated :)

niveditc avatar Jan 19 '19 22:01 niveditc

Is this to be removed? I would like to create a PR if this is still open

aditya20t avatar Jul 23 '20 11:07 aditya20t

@niveditc I am new here, is this PR still open? If yes, I could create a PR for this.

jhalak27 avatar Aug 02 '20 14:08 jhalak27