Ghost/ghost/core/test/unit/server/lib
Kevin Ansfield 457c672c6a
Added URL transform for image cards in Lexical documents (#15890)
refs https://github.com/TryGhost/Team/issues/2225

- updated the `formatOnWrite` transform map for posts to include the new `nodes` and `transformMap` options used by `urlUtils` for transforming node payload data
- added `nodes` to the `lexicalLib` module that pulls in our default nodes to be passed in to the URL transform utilities
- added `urlTransformMap` to the `lexicalLib` module that maps transform type and data type to URL transform utility functions that accept a single URL argument
2022-11-29 16:57:01 +00:00
..
image Fixed unit test 2022-09-06 18:11:22 +08:00
events.test.js Fixed ERR_NOCK_NO_MATCH warning during test runs 2022-09-01 12:25:47 +08:00
lexical.test.js Added URL transform for image cards in Lexical documents (#15890) 2022-11-29 16:57:01 +00:00
mobiledoc.test.js Fixed adapter-related unit test 2022-09-06 18:46:32 +08:00
request-external.test.js Fixed the typo 2022-08-04 15:38:32 +01:00