mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 09:30:21 +00:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
@inherits MSGComponentBase
|
|
|
|
|
|
<MudDialog>
|
|
<DialogContent>
|
|
<PreviewPrototype/>
|
|
|
|
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
|
@T("Test how Pandoc loads your document. See the raw content it produces before further processing.")
|
|
</MudJustifiedText>
|
|
|
|
<ReadFileContent Text="@T("Load document")" @bind-FileContent="@this.documentContent"/>
|
|
|
|
<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.")"
|
|
/>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
|
|
@T("Cancel")
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |