chore(templates): migrate to new richtext component in website template (#9615)

In addition to requiring fewer files, it supports more nodes. If you
currently initialize a website template and want to use features such as
images or tables, they are not rendered. With this change that happens
automatically.

Credits to @AlessioGr for the [JSX
serializer](https://github.com/payloadcms/payload/pull/8795).

---------

Co-authored-by: Paul Popus <paul@nouance.io>
This commit is contained in:
Germán Jabloñski
2024-12-04 21:38:49 -03:00
committed by GitHub
parent 3d1305de5c
commit 89db8fb7f2
18 changed files with 1894 additions and 5386 deletions

View File

@@ -336,4 +336,4 @@ export interface Auth {
declare module 'payload' {
// @ts-ignore
export interface GeneratedTypes extends Config {}
}
}