Closed net4u closed 5 years ago
Hi, When using a HTML property in a view, using only the property name will select the proper HtmlString rendering (outputing HTML):
<div> @Model.CurrentPage.MainBody </div>
While for instance @Model.CurrentPage.MainBody.Value would render as text. (It could however also be solved by using @Html.Raw(Model.CurrentPage.MainBody.Value) ).
Hope that helps!
Yes, it works. thnx
But I notticed something, I don't know that is bug or not: When I paste some raw html code into editor (source mode), supposing that it contains something like <img src="./images/myimage.png /> after saving the page, the content is changed into <img src="./Admin/content/images/myimage.png />
Sorry for the delayed answer, missed the post.
This is a bug, the editor should not try to rewrite the image path and I'll add this as an issue to fix. Thanks!
Pre-release packages (version 1.2.5-beta1) that address this issue are available at https://www.nuget.org/packages?q=kalikocms
Final release of version 1.2.5 which targets this issue is available now at https://www.nuget.org/packages?q=kalikocms
Hi
I have an issue with HTML content that is rendered as test as results in the print-screen:
https://www.dropbox.com/s/q6yltgc84x809zt/print-screen.png?dl=0
What may be the cause?
regards