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

Conversation

@khawkinson
Copy link

@khawkinson khawkinson commented Mar 27, 2019

Exports isSoftNewlineEvent as static method of KeyBindingUtil, so it can be imported as

import { KeyBindingUtil } from 'draft-js';
// ...
KeyBindingUtil.isSoftNewlineEvent(...);

Fixes #2044

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.

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

@claudiopro claudiopro changed the title issue #2044 Exports isSoftNewlineEvent as static method of KeyBindingUtil Mar 28, 2019
@claudiopro claudiopro changed the title Exports isSoftNewlineEvent as static method of KeyBindingUtil Exports isSoftNewlineEvent as static method of KeyBindingUtils Mar 28, 2019
@claudiopro claudiopro changed the title Exports isSoftNewlineEvent as static method of KeyBindingUtils Exports isSoftNewlineEvent as static method of KeyBindingUtil Mar 28, 2019
@facebook-github-bot
Copy link

This pull request has been merged in aede823.

jdecked pushed a commit to twitter-forks/draft-js that referenced this pull request Oct 9, 2019
Summary: Pull Request resolved: facebookarchive#2045

Differential Revision: D14674391

fbshipit-source-id: 431ba174a820532d9727a7d98ddf3d1da7ffafe6
mmissey pushed a commit to mmissey/draft-js that referenced this pull request Mar 24, 2020
Summary: Pull Request resolved: facebookarchive#2045

Differential Revision: D14674391

fbshipit-source-id: 431ba174a820532d9727a7d98ddf3d1da7ffafe6
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary: Pull Request resolved: facebookarchive/draft-js#2045

Differential Revision: D14674391

fbshipit-source-id: 431ba174a820532d9727a7d98ddf3d1da7ffafe6
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