Merge pull request #4054 from sbwalker/dev

move Html/Text Edit button to top of content
This commit is contained in:
Shaun Walker 2024-03-23 11:12:24 -04:00 committed by GitHub
commit 83764ce3d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = "";