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
custom-theme-setting-list.js
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
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