Render line break conditionally in HtmlText module
This commit is contained in:
parent
3f9b112ea6
commit
967f92c1aa
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user