umbraco / Umbraco.BlockGrid.Example.Website

An example of Umbraco Block Grid
21 stars 10 forks source link

[Question]: V13 - Custom-Views using Rich-Text not rendering content in Back-Office #10

Open c9mb opened 8 months ago

c9mb commented 8 months ago

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

What happened?

I wanted to look at what was involved in creating BlockGrid Custom-Views, and had been putting this off until v13-LTS

I just created a v13 test site on Umbraco-Cloud, cloned it to local, and installed the BlockGrid.Example starter kit.

Basically, all of the custom views presenting rich-text are displaying [object Object] instead of rendering their content as expected.

Screenshot 2024-01-05 074947

precary commented 8 months ago

Don't know if this is the right way, but tying it this way seems to work.

ng-bind-html="block.data.richText.markup"