rich-text icon indicating copy to clipboard operation
rich-text copied to clipboard

Libraries for handling and rendering Rich Text 📄

Results 160 rich-text issues
Sort by recently updated
recently updated
newest added

Since #58 is closed: The **documentToReactComponents** doesn't render embedded images. I can't pass custom renderer as suggested in #58 (I can, but **node** doesn't contain the needed data to render...

import { documentToReactComponents } from '@contentful/rich-text-react-renderer'; const document = { nodeType: 'document', data: {}, content: [ { nodeType: 'paragraph', data: {}, content: [ { nodeType: 'text', value: 'Hello world!', marks:...

Upgrading `remark-parse` to latest version after running successfully the test

It's not usable in a react component

question

When I'm using the rich-text-html-renderer I expect that also the line breaks are converted to HTML also. Currently when I've some manual line breaks in a paragraph they are ignored...

vNext

In our blog articles, we are generating a table of contents with anchor links by generating HTML `id`s for each `h2` and passing in a custom renderer for `BLOCKS.HEADING_2`. This...

Please add a changelog. My project is experiencing a breaking change in rich-text-html-renderer between 12.1.0 and 12.2.1 and I have no way of deducing what functionality or bug fix was...

enhancement

I had to use the following to have embedded images display: ```javascript let options = { renderNode: { 'embedded-asset-block': (node) => `` } } let bodyHTML = body ? documentToHtmlString(body,...

enhancement
help wanted
good first issue

Attempted to find a solution already out there, but could not. Recently updated a blog project to current node / gatsby versions, and additionally updated gatsby-source-contentful to 15.13.0. Now i...

When implementing custom render functions for node types it would be really helpful to be able to use the `nodeToHtmlString` function that `rich-text-html-renderer` uses internally. Unfortunately, only `documentToHtmlString` is exported....