Ghost/ghost/admin/app/routes/lexical-editor
Kevin Ansfield 5f5ad4d5dd
Added automatic conversion of old content when opening in beta editor (#17876)
no issue

Previously the beta editor only worked for newly created posts/pages, any older content would open with the original editor. This change enables automatic conversion of old content to the new content format when a post/page is opened in the admin interface allowing new features like signup and advanced header cards to be used on existing content.

- removed `convertToLexical` feature flag
  - where necessary switched to using just the `lexicalEditor` feature flag in its place
- moved the "L"/"M" indicators on the posts list to a new `lexicalIndicators` feature flag to make debugging/development easier
- added a redirect to the original editor route so that any route to opening the editor (such as the `/edit` front-end shortcut, or other areas of Admin) will open in the beta editor
  - avoids confusing/inconsistent behavior
2023-08-30 16:54:03 +01:00
..
edit.js Added automatic conversion of old content when opening in beta editor (#17876) 2023-08-30 16:54:03 +01:00
index.js Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
new.js Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00