module load error handler, router optimizaton, relative paths, fixed add existing module control panel issue
This commit is contained in:
@ -133,6 +133,8 @@ else
|
||||
content = await this.RichTextEditorHtml.GetHTML();
|
||||
}
|
||||
|
||||
content = content.Replace(((PageState.Alias.Path == "") ? "/~" : PageState.Alias.Path) + Constants.ContentUrl, Constants.ContentUrl);
|
||||
|
||||
try
|
||||
{
|
||||
HtmlTextService htmltextservice = new HtmlTextService(http, sitestate, NavigationManager);
|
||||
|
@ -13,7 +13,7 @@
|
||||
<br /><br />
|
||||
|
||||
@code {
|
||||
string content;
|
||||
string content = "";
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
@ -24,6 +24,7 @@
|
||||
if (htmltext != null)
|
||||
{
|
||||
content = htmltext.Content;
|
||||
content = content.Replace(Constants.ContentUrl, ((PageState.Alias.Path == "") ? "/~" : PageState.Alias.Path) + Constants.ContentUrl);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user