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/mobiledoc/cards
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
..
bookmark_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00
card-markdown_spec.js 🐛 Fixed rendering and url transformation of v1 "card-markdown" aliased cards 2019-10-10 16:35:29 +01:00
code_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00
embed_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00
gallery_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00
hr_spec.js 🐛 Fixed unnecessary "unsaved changes" modal when using HR cards 2020-01-22 11:59:13 +00:00
html_spec.js Added transformer methods to mobiledoc cards 2019-10-07 22:59:19 +01:00
image_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00
markdown_spec.js Merge branch 'master' into v3 2019-10-08 13:58:08 +01:00