Ghost/ghost/admin/app/adapters
Kevin Ansfield a7c4991af5 Wired up lexical editor saving
no issue

- fixed API returning "Invalid mobiledoc structure" errors when `mobiledoc:null` is sent in the payload alongside `lexical: '{...}'`
- updated Admin's `posts` and `pages` adapters to always add `?formats=mobiledoc,lexical` because the API doesn't return `lexical` by default
- added `lexical` attribute to Admin's Post model
- updated `lexical-editor` controller and related components to work with `lexical` always being a JSON string rather than a parsed object
- updated `<KoenigLexicalEditor>` to pass through the lexical state string as initial state and wired up the `onChange` prop
2022-09-13 21:01:53 +01:00
..
api-key.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
application.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
base.js Fixed API path generation for multi-segmented model names 2021-09-23 23:52:50 +01:00
custom-theme-setting-list.js Added customThemeSettings service with all-records-in-one save request 2021-09-28 16:50:28 +01:00
email.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
embedded-relation-adapter.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
label.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
member.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
newsletter.js Fixed newsletter includes when adding or editing (#2365) 2022-05-05 11:31:45 +02:00
offer.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
page.js Wired up lexical editor saving 2022-09-13 21:01:53 +01:00
post.js Wired up lexical editor saving 2022-09-13 21:01:53 +01:00
setting.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
tag.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
theme.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
tier.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00
user.js Dropped use of @classic decorator in adapters 2022-09-02 19:14:40 +01:00