You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (or as I understand it), the richText resolver only supports static HTML strings as input. This makes the WYSIWYG blocks less functional than they could be for several reasons:
Tailwind, a fairly common CSS framework, doesn't extrapolate classnames out of HTML strings
ReactDOM stringify functions are not available for use within Next.js rendered pages,
ReactDOM can be dynamically imported as a workaround, but the resolver cannot support async callbacks
Suggested solution or improvement
Accept react components as children in the richText resolver
Additional context
Roughly I'd like to be able to do either of the following:
Description
Currently (or as I understand it), the richText resolver only supports static HTML strings as input. This makes the WYSIWYG blocks less functional than they could be for several reasons:
Suggested solution or improvement
Accept react components as children in the richText resolver
Additional context
Roughly I'd like to be able to do either of the following:
Validations
The text was updated successfully, but these errors were encountered: