Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Implement click listener for editor wrapper #2230

Closed
wants to merge 2 commits into from
Closed

Implement click listener for editor wrapper #2230

wants to merge 2 commits into from

Conversation

maximalism2
Copy link
Contributor

@maximalism2 maximalism2 commented Oct 29, 2019

Summary

As I understand the onClick listener on the wrapper div element is suppose to replicate native textarea/input behavior. But the actual value of onClick property was undefined and thus needed to be implemented

Test Plan

It's an example file, no test plan is required.

As I understand the `onClick` listener on the wrapper `div` element is suppose to replicate native `textarea/input` behavior. But the actual value of `onClick` property was `undefined` instead of a real method `domEditor`s method.
@facebook-github-bot
Copy link

Hi necinc! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@maximalism2 maximalism2 changed the title Pass correct click listener to editor wrapper Implement click listener for editor wrapper Oct 29, 2019
@mrkev
Copy link
Contributor

mrkev commented Oct 31, 2019

lgtm! I'll try to get this merged soon.

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrkev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@mrkev merged this pull request in 8f77aa3.

mmissey pushed a commit to mmissey/draft-js that referenced this pull request Mar 24, 2020
Summary:
**Summary**

As I understand the `onClick` listener on the wrapper `div` element is suppose to replicate native `textarea/input` behavior. But the actual value of `onClick` property was `undefined` and thus needed to be implemented

**Test Plan**

It's an example file, no test plan is required.
Pull Request resolved: facebookarchive#2230

Differential Revision: D18247675

Pulled By: mrkev

fbshipit-source-id: 88e7160776f66daf1033351e4c5f2f4cfb5d40f1
vilemj-Viclick pushed a commit to kontent-ai/draft-js that referenced this pull request Jul 16, 2020
Summary:
**Summary**

As I understand the `onClick` listener on the wrapper `div` element is suppose to replicate native `textarea/input` behavior. But the actual value of `onClick` property was `undefined` and thus needed to be implemented

**Test Plan**

It's an example file, no test plan is required.
Pull Request resolved: facebookarchive#2230

Differential Revision: D18247675

Pulled By: mrkev

fbshipit-source-id: 88e7160776f66daf1033351e4c5f2f4cfb5d40f1
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
**Summary**

As I understand the `onClick` listener on the wrapper `div` element is suppose to replicate native `textarea/input` behavior. But the actual value of `onClick` property was `undefined` and thus needed to be implemented

**Test Plan**

It's an example file, no test plan is required.
Pull Request resolved: facebookarchive/draft-js#2230

Differential Revision: D18247675

Pulled By: mrkev

fbshipit-source-id: 88e7160776f66daf1033351e4c5f2f4cfb5d40f1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants