Revert "if text is selected upload this instead of entire document"

This reverts commit d3bdc041861f06a2fef83103b0f5525c426e1672.