Maybe some people who have experience with #sanity know this, but I am attempting to add a new "Style" in the richtext editor, but the documentation seems to end too early: https://www.sanity.io/docs/portable-text-editor-configuration#8997d6860827
After I have added the style... what do I do now? lol
=> More informations about this toot | More toots from nachtfunke@indieweb.social
even this one: https://www.sanity.io/docs/customizing-the-portable-text-editor#75a3cda2b86f it tells me how to customise the editor itself but I have no idea how to actually get it out of there
=> More informations about this toot | More toots from nachtfunke@indieweb.social
@nachtfunke I think it's arbitrary, so when you fetch that content it'll return whatever the style was so you can act upon that in your frontend?
the Sanity Slack community is probably best place to ask, there's usually Sanity staff around too if your question remains unanswered
=> More informations about this toot | More toots from hdv@front-end.social
@hdv silence there, unfortunately. I figured out myself in the end by following lots of links in very different places though. Actually, if you set anything that the editor doesn't understand yet, it'll throw a warning along the lines of "unknown mark/block, please set it in components.mark/block", etc., that helped me figure out what to do.
=> More informations about this toot | More toots from nachtfunke@indieweb.social This content has been proxied by September (3851b).Proxy Information
text/gemini