0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -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 Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
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 Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
ghost-version_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
request_spec.js Updated tests eslint config to use eslint-plugin-ghost@0.5.0 2019-08-19 13:38:35 +01:00