umco / umbraco-inner-content

A helper library for Umbraco Doc Type based property editors providing overlays and conversion helpers

Home Page:https://our.umbraco.org/projects/backoffice-extensions/inner-content/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand on PropertyValueEditorWrapper to handle basic JSON

mattbrailsford opened this issue · comments

Right now the base InnerContentPropertyValueEditorWrapper still expects the developer to unwrap the JSON and parse everything that isn't an Inner Content object. We could probably simplify this a little by letting it handle ANY JSON and detecting when it hits an Inner Content object to run the conversion.

This should be fine for most people who don't need to do any extra processing on their JSON model. For those that need to, they will implement as it's currently setup. Either way, this will add flexibility.