kontent-ai/rich-text-resolver-js

Add default resolutions for image

pokornyd opened this issue · 0 comments

Motivation

Images are usually resolved as-is, but the current implementation doesn't provide any default resolution for Kontent.ai assets in rich text, forcing you to specify a custom image resolver.

Proposed solution

Add helper methods for default conversion of image blocks to a corresponding output entity.

Additional context

Ideally, there should be a helper method for each of the supported frameworks/languages (React, Vue, HTML...)