Skip to content

fix: Publish toolbar dissappears when submitting empty content

Enrique Alcántara requested to merge 212561-fix-empty-edit-area into master

What does this MR do?

To detect that the content was loaded successfully, the Static Site Editor verifies that the originalContent property is not empty. When the user removes all the content of a page a submits the changes successfully, the originalContent property becomes empty and the Static Site Editor thinks that the content is not loaded again.

This MR decouples identifying if the content is loaded from originalContent to prevent this bug.

Before After
2020-04-13_10.01.17

Does this MR meet the acceptance criteria?

Conformity

Edited by Enrique Alcántara

Merge request reports