Render line break conditionally in HtmlText module

This commit is contained in:
Hisham Bin Ateya 2020-04-25 17:35:50 +03:00
parent 3f9b112ea6
commit 967f92c1aa

View File

@ -8,9 +8,15 @@
@((MarkupString)content) @((MarkupString)content)
<br /> @if (PageState.EditMode)
{
<br />
}
<ActionLink Action="Edit" /> <ActionLink Action="Edit" />
<br /><br /> @if (PageState.EditMode)
{
<br /><br />
}
@code { @code {
private string content = ""; private string content = "";