HomePhabricator

When cancelling an edit of an inline with content, don't hide the inline

Authored by epriestley on Fri, May 22, 10:27 PM.

Description

When cancelling an edit of an inline with content, don't hide the inline

Summary: See PHI1753. This condition got rewritten for suggested edits and accidentally inverted.

Test Plan:

  • Create a comment, type text, save draft, edit comment, cancel.
  • Before: comment hides itself.
  • After: comment properly cancels into pre-edit draft state.

Differential Revision: https://secure.phabricator.com/D21286