mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
@using Radzen.Blazor.Rendering
|
|
|
|
<EditorDropDown Title=@Title Value=@(Editor?.State.FormatBlock ?? "") Change=@OnChange Placeholder="@Placeholder"
|
|
PopupStyle="width: 200px; max-height: 200px; overflow: auto;">
|
|
<EditorDropDownItem Text=@NormalText Value="p">
|
|
<p style="margin:0">@context.Text</p>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading1Text Value="h1">
|
|
<h1>@context.Text</h1>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading2Text Value="h2">
|
|
<h2>@context.Text</h2>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading3Text Value="h3">
|
|
<h3>@context.Text</h3>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading4Text Value="h4">
|
|
<h4>@context.Text</h4>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading5Text Value="h5">
|
|
<h5>@context.Text</h5>
|
|
</EditorDropDownItem>
|
|
<EditorDropDownItem Text=@Heading6Text Value="h6">
|
|
<h6>@context.Text</h6>
|
|
</EditorDropDownItem>
|
|
</EditorDropDown> |