contentstack / json-rte-serializer

The JSON RTE Serializer package helps you convert the data inside your JSON Rich Text Editor field from JSON to HTML format and vice versa.
MIT License
9 stars 7 forks source link

Option to override the render function for elements #2

Closed zoltantakacs-born closed 2 years ago

zoltantakacs-born commented 3 years ago

Hi,

For customization purposes it would be great to have a parameter for the jsonToHtml function which makes it possible to override the render of some elements. It should be optional and merged with the default ELEMENT_TYPES object.

hiteshshetty-dev commented 2 years ago

In v2.0.0, We have added this support. If this doesn't meet your requirement, reopen this issue with additional information.