Type selection object in getDraftEditorSelection.js
Type selection object in getDraftEditorSelection.js

Summary: We were missing a possible case: if there has been no selection, anchorNode and focusNode can be null.

Reviewed By: jack-arms

Differential Revision: D21002172

fbshipit-source-id: d84a5c6eb551d88898148d84e4961515f152f02c

facebook/draft-js