0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/unit/lib
Kevin Ansfield 8b787ac803 🐛 Fixed unnecessary "unsaved changes" modal when using HR cards
no issue

- the `hr` mobiledoc card does not specify an `absoluteToRelative` or `relativeToAbsolute` transformer function so falls back to the default transformer
- the default transformer function's arguments were not correct which meant that the UrlUtils object was replacing the card's typical empty-object payload
- the card's payload changing when saving mobiledoc was triggering the editor's unsaved changes warning because the API response no longer matched what was in the editor
2020-01-22 11:59:13 +00:00
..
common
fs Updated docs api links to be version-less 2019-07-25 15:17:23 +08:00
image Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
mobiledoc 🐛 Fixed unnecessary "unsaved changes" modal when using HR cards 2020-01-22 11:59:13 +00:00
promise Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
security
ghost-version_spec.js
request_spec.js Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00