#Troubleshooting TextStateFeature: Rendering Colors in Frontend
11 messages · Page 1 of 1 (latest)
Original message from @cinder trellis - Moved from #general message
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Referring to this: https://payloadcms.com/docs/rich-text/official-features#textstatefeature
I have followed the guide here: https://nlvcodes.com/tutorials/payload-s-text-state-feature-explained , and the video too
Copied word for word but it just doesn't render at all
Obviously that guide is nearly a year old but it's the newest thing I could find, other than githubs asking the same thing but with no replies like: https://github.com/payloadcms/payload/discussions/14273
Learn how to use the TextStateFeature in Payload CMS to add inline styles such as color, background, font weight, and more to your Lexical editor.
Also tried this, nothing again
Hey @cinder trellis I created this gist with the files that you can reference to get this working! Truth be told I ran into the same thing, I could see my colors in Payload admin, but no changes on the frontend.
Take a look and let me know if this helps!
https://gist.github.com/zubricks/aaf48987da076a3dcc3bc041990a1992
Hi, yeah seems to be great!
Thank you
Do you know if this will go into official payload out of curiosity?
Go into payload? Like as an example, or in the docs?
Docs + as a default converter