Skip to content

Commit

Permalink
Merge branch 'master' into fix/363-dynamic-values
Browse files Browse the repository at this point in the history
  • Loading branch information
Simply007 authored May 9, 2023
2 parents dce01c1 + 49fde38 commit aacabd2
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Resolving links to content items is covered in a [separate article](./resolving-

By iterating over the blocks, you can render the Rich text content.

Replaces `string` type of a rich text.

## Rich text rendering in MVC

For rendering of rich text in MVC, you can use the standard approach with `Html.DisplayFor(model => model.RichTextProperty)`.
Expand Down Expand Up @@ -103,6 +105,14 @@ By getting each value you can generate date and time with a timezone.
}
```

Replaces `DateTime?` type of a date time element.

## Modular content

`IContentItem` provides default content item system attributes : `IContentItemSystemAttributes`

Replaces `object` type of a modular content and subpages elements as well as every content item implements this interface.

## Other resources
- [How to Render Different Output for Rich Text in Kontent.ai Using the Delivery .NET SDK](https://robwest.info/articles/how-to-render-different-output-for-rich-text-in-kentico-kontent-using-the-delivery-net-sdk) by [Rob West
](https://github.com/robertgregorywest)
Expand Down

0 comments on commit aacabd2

Please sign in to comment.