fixed edit compose text after pasting imgage

This commit is contained in:
Mariotaku Lee 2015-07-06 22:15:19 +08:00
parent 6fbc782ce2
commit 0092c5f659
1 changed files with 1 additions and 0 deletions

View File

@ -747,6 +747,7 @@ public class ComposeActivity extends ThemedFragmentActivity implements LocationL
final MarkForDeleteSpan[] deletes = s.getSpans(0, s.length(), MarkForDeleteSpan.class);
for (MarkForDeleteSpan delete : deletes) {
s.delete(s.getSpanStart(delete), s.getSpanEnd(delete));
s.removeSpan(delete);
}
}
});