mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +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 |
||
---|---|---|
.. | ||
config | ||
factories | ||
fixtures | ||
models | ||
scenarios | ||
serializers | ||
.eslintrc.js | ||
config.js | ||
routes-dev.js | ||
routes-test.js | ||
utils.js |