Revert "Rework for Tabstrip regression issue"
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
||||
|
||||
<div class="quill-text-editor">
|
||||
<TabStrip ActiveTab="@_activetab" TabChangeEvent=false>
|
||||
<TabStrip ActiveTab="@_activetab">
|
||||
@if (_allowRichText)
|
||||
{
|
||||
<TabPanel Name="Rich" Heading="Rich Text Editor" ResourceKey="RichTextEditor">
|
||||
@ -254,11 +254,11 @@
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
_interop = new QuillEditorInterop(JSRuntime);
|
||||
|
||||
if (string.IsNullOrEmpty(Placeholder))
|
||||
{
|
||||
Placeholder = Localizer["Placeholder"];
|
||||
}
|
||||
// _activetab = "Rich";
|
||||
}
|
||||
|
||||
protected override void OnParametersSet()
|
||||
@ -269,10 +269,6 @@
|
||||
{
|
||||
_activetab = "Raw";
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// _activetab = "Rich";
|
||||
// }
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
|
Reference in New Issue
Block a user