mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
fd926193ce
closes https://linear.app/tryghost/issue/PLG-205 The server trims whitespace from the title when saving but our unsaved changes detection was comparing the raw title input field value meaning there would be a mismatch after publishing if the title field contained leading/trailing whitespace. - updated title comparison to compare trimmed values - moved and improved unsaved changes modal tests from publish-flow to unsaved-changes acceptance test file - added util for pasting content into the editor to test for content changes |
||
---|---|---|
.. | ||
acceptance | ||
helpers | ||
integration | ||
unit | ||
index.html | ||
test-helper.js |