Ben Briggs

Results 4 issues of Ben Briggs

Fixes https://github.com/HubSpot/draft-convert/issues/113 Adds two fixes to `flat: true` mode of `convertToHTML`: 1) If in flat mode within a block starting with text as a direct child and a sibling element...

the entity no longer existing in the contentState shouldn't be an invariant-causing condition.

In https://github.com/facebook/draft-js/pull/1112 `editorState` is now passed as a parameter to `handleKeyCommand` - this `EditorState` ended up being unexpectedly passed by `KeyCommandController` to listeners in the parameter spot that a keyboard...

As much as I prefer the factory function style of creating components, we should get rid of this dependency. Follow up to #23