Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): onDraftEditorCopy, onDraftEditorCut for [email protected] #268

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

thibaudcolas
Copy link
Owner

Those methods can be used with the new onCopy and onCut props introduced in Draft.js 0.11.0,
to replace registerCopySource and remove the need for an editor ref. registerCopySource is
still available and works the same as before, but will eventually be removed once this package
drops support for Draft.js 0.10.

Those methods can be used with the new `onCopy` and `onCut` props introduced in Draft.js 0.11.0,
to replace `registerCopySource` and remove the need for an editor ref. `registerCopySource` is
still available and works the same as before, but will eventually be removed once this package
drops support for Draft.js 0.10.
@thibaudcolas thibaudcolas added the enhancement New feature or request label Nov 19, 2020
@thibaudcolas thibaudcolas added this to the Nice to have milestone Nov 19, 2020
@thibaudcolas thibaudcolas linked an issue Nov 19, 2020 that may be closed by this pull request
@thibaudcolas thibaudcolas changed the title feat(api): add onDraftEditorCopy and onDraftEditorCut for [email protected] feat(api): onDraftEditorCopy, onDraftEditorCut for [email protected] Nov 19, 2020
@thibaudcolas thibaudcolas merged commit 05b31cb into main Nov 19, 2020
@thibaudcolas thibaudcolas deleted the feature/use-onCopy-onCut branch November 19, 2020 16:58
thibaudcolas added a commit that referenced this pull request Nov 19, 2020
# [1.2.0](v1.1.0...v1.2.0) (2020-11-19)

### Features

* **api:** onDraftEditorCopy, onDraftEditorCut for [email protected] ([#268](#268)) ([05b31cb](05b31cb))
@thibaudcolas
Copy link
Owner Author

🎉 This pull request is included in v1.2.0, available on npm: [email protected].

Generated by 📦🚀 semantic-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting error calling registerCopySource
1 participant