block-content-to-hyperscript icon indicating copy to clipboard operation
block-content-to-hyperscript copied to clipboard

Function for transforming Sanity block content to HyperScript

Results 11 block-content-to-hyperscript issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

same error error - Error: Unknown block type "undefined", please specify a serializer for it in the `serializers.types` prop , li: ({ children }) => {children}, }} /> _Originally posted...

Version 2.0.7 I'm making a website using the NextJS landing page template made by you guys: https://github.com/sanity-io/sanity-template-nextjs-landing-pages. If I insert an image in a text box (type: portableText), it creates...

Adds `renderContainer` option which defaults to `true` and the current behaviour. If set to `false` we simply return the `innerHTML` of the normal rendering, thus avoiding the wrapping element. This...

Seeking to convert to typescript via minimal changes to code and build setup

This is loosely related to https://sanity-io-land.slack.com/archives/C9Z7RC3V1/p1601637650136800 I probably should have opened an issue instead, but I got the impression that this would be a welcome change, so I proceed. If...

There are probably several HTML tags that could do the same, but in this PR I added only sub and sup. Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup

We are working on a custom PortableText parser in C#, with the possibility to also define some custom parsers for certain HTML elements. In the example below, the blocks prop...

If you have a simple block with a bulleted list, where the list has a single list item in it, I get a duplicate list item. ``` ``` Instead of:...