-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add serializer for mark #21
Comments
Hello again, here is some more information. The body that this creates is like so:
So I tried to make a custom serializer for the span tag, but it didn't work. Should it work? (since it is not actually a custom type) Like this:
Anyway I found out that the brandcolor marked strings turned up with |
Also looking for an answer for this one. It seems like I would have to reimplement the entire default serializer. |
Looks like this might be what you are looking for? https://blog.novacare.no/sanity-serializing-annotations/ |
Hello!
I need to add a serializer for a custom mark, so it is not its own type. How would I do that?
I have managed to add a serializer for a custom image type, but this I reckon is different?
Here is the object in Sanity where I will use the mark called Brand:
The text was updated successfully, but these errors were encountered: