Don't send API requests to preview empty (or whitespace-only) edit summaries

Change-Id: I1b75a012eebececa5fd53d5ceedb9221648182fb
Merge "Don't send API requests to preview empty (or whitespace-only) edit summaries"