Partial view macros as seen as previews in the grid editor lack a number of elements, but especially the style attribute is gone. I have already succeeded in styling the macro preview by injecting CSS via a plugin, but on certain elements, missing the style attribute really hinders proper preview:
In this case, the placement of the markers is completely removed, and the only work-around I could think of, by reading a data-xx attribute in CSS has zero browser support right now.
Is it possible to configure Umbraco not to remove the style attribute in macro previews?
Macro preview removing style attributes
Partial view macros as seen as previews in the grid editor lack a number of elements, but especially the style attribute is gone. I have already succeeded in styling the macro preview by injecting CSS via a plugin, but on certain elements, missing the style attribute really hinders proper preview:
In this case, the placement of the markers is completely removed, and the only work-around I could think of, by reading a data-xx attribute in CSS has zero browser support right now.
Is it possible to configure Umbraco not to remove the style attribute in macro previews?
is working on a reply...