Closed MilanLund closed 2 years ago
https://github.com/Kentico/kontent-delivery-sdk-js/blob/master/readme.md#resolving-rich-text-in-nodejs
There is a code example stating:
const html = await createAsyncRichTextHtmlResolver(asyncNodeParser).resolveRichText(data);
I think that is incorrect and should be:
const html = await createAsyncRichTextHtmlResolver(asyncNodeParser).resolveRichTextAsync(data);
Also, the JSON one above looks a bit suspicious. However, have not had a chance to actually test it.
You're right, thanks!
https://github.com/Kentico/kontent-delivery-sdk-js/blob/master/readme.md#resolving-rich-text-in-nodejs
There is a code example stating:
I think that is incorrect and should be:
Also, the JSON one above looks a bit suspicious. However, have not had a chance to actually test it.