2025-11-21 13:12:46 +00:00
@inherits MSGComponentBase
2025-11-21 14:53:23 +00:00
2025-11-21 13:12:46 +00:00
<MudDialog>
<DialogContent>
2025-11-21 14:53:23 +00:00
<PreviewPrototype/>
2025-11-21 13:12:46 +00:00
2025-11-21 14:53:23 +00:00
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
@T("Test how Pandoc loads your document. See the raw content it produces before further processing.")
</MudJustifiedText>
2025-11-21 13:12:46 +00:00
<ReadFileContent Text="@T("Load document")" @bind-FileContent="@this.documentContent"/>
2025-11-21 14:53:23 +00:00
<MudTextField
T="string"
@bind-Text="@this.documentContent"
AdornmentIcon="@Icons.Material.Filled.Article"
Adornment="Adornment.Start"
Immediate="@true"
Label="@T("Content Loaded by Pandoc")"
Variant="Variant.Outlined"
Lines="6"
AutoGrow="@true"
MaxLines="25"
Class="mt-10"
HelperText="@T("This is the content Pandoc loaded from your document — including headings, lists, and formatting. Use this to verify your document loads as expected.")"
/>
2025-11-21 13:12:46 +00:00
</DialogContent>
<DialogActions>
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
@T("Cancel")
</MudButton>
</DialogActions>
</MudDialog>