#`Message Upload Parsing in RichText Component`

5 messages · Page 1 of 1 (latest)

mortal patioBOT
#

{
"type": "upload",
"version": 3,
"format": "",
"fields": null,
"relationTo": "media",
"value": "6871ec75f0b24d06e0950285",
"id": "687493a47640d358d403b830"
},

how to parse this in richtext component

import React from "react";
import { RichText } from "@payloadcms/richtext-lexical/react";

const ArticleContent = ({ content }) => <RichText data={content} />;

export default ArticleContent;
scarlet ledgeBOT
#

Original message from @spring fiber - Moved from #general message

spring fiber
#

Anyone help me with this issue, i managed to populate media but still image is not rendering

mellow urchin