Ancestors

Written by Thomas Michael Semmler on 2024-11-25 at 11:10

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

Toot

Written by Thomas Michael Semmler on 2024-11-25 at 11:26

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

Descendants

Written by Hidde on 2024-11-25 at 20:29

@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

Written by Thomas Michael Semmler on 2024-11-26 at 08:52

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113543346853986060
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
276.85753 milliseconds
Gemini-to-HTML Time
1.094601 milliseconds

This content has been proxied by September (3851b).