Save marks when creating native ranges in onNativeBeforeInput (#1272)
Save marks when creating native ranges in onNativeBeforeInput (#1272)

* Save marks when creating native ranges in onNativeBeforeInput

When we used native ranges in onNativeBeforeInput, we weren't carrying
over the marks from Slate's selection. This made it impossible to know
that the next character typed should have a set of marks.

Fixes #1270.

* Ensure marks are cleared after successfully entering text

* Stop setting marks in findRange

Adding the selection's marks inside findRange was too broad of a
change, and would keep marks after doing things like moving a
selection around. We should use selection.marks directly in
insertTextAtRange instead.

* Update find-range.js

ianstormtaylor/slate,ashutoshrishi/slate,isubastiCadmus/slate,ianstormtaylor/slate