blog-next icon indicating copy to clipboard operation
blog-next copied to clipboard

Can not store JSX code in CMS field then display as code on screen

Open richleach opened this issue 3 years ago • 0 comments

How do I store JSX code in the DB/CMS then retrieve and display in my component? I've tried using a Rich text field and a plain Text field, and my JSX code does not appear on screen like it does if I hard code it in my return() statement directly in my component. image

richleach avatar Jun 23 '21 16:06 richleach