move Html/Text Edit button to top of content

This commit is contained in:
sbwalker 2024-03-23 11:12:05 -04:00
parent 8631eacdf3
commit 438cf271c0

View File

@ -4,16 +4,15 @@
@inject IHtmlTextService HtmlTextService
@inject IStringLocalizer<Index> Localizer
@((MarkupString)content)
@if (PageState.EditMode)
{
<br />
<ActionLink Action="Edit" EditMode="true" ResourceKey="Edit" />
<br />
<br />
<div class="text-center mb-2">
<ActionLink Action="Edit" EditMode="true" ResourceKey="Edit" />
</div>
}
@((MarkupString)content)
@code {
private string content = "";