mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
Enable color lists in the color picker tools of RadzenHtmlEditor.
This commit is contained in:
@@ -3,6 +3,4 @@
|
||||
|
||||
<EditorColorPicker Title=@Title @bind-Value=@value Icon="title" Change=@OnChange ShowHSV=@ShowHSV ShowRGBA=@ShowRGBA
|
||||
ShowColors=@ShowColors ShowButton=@ShowButton HexText=@HexText RedText=@RedText GreenText=@GreenText
|
||||
BlueText=@BlueText AlphaText=@AlphaText ButtonText=@ButtonText>
|
||||
@ChildContent
|
||||
</EditorColorPicker>
|
||||
BlueText=@BlueText AlphaText=@AlphaText ButtonText=@ButtonText ChildContent=@ChildContent />
|
||||
@@ -3,15 +3,10 @@
|
||||
<i class="notranslate rzi" style="@(!string.IsNullOrEmpty(IconColor) ? $"color:{IconColor}" : null)">@Icon</i>
|
||||
<div class="rz-html-editor-color-value" style="background-color:@Value"></div>
|
||||
</button>
|
||||
<RadzenColorPicker
|
||||
@bind-Value=@Value Change=@OnChange @onclick:stopPropagation TabIndex=-1
|
||||
<RadzenColorPicker @bind-Value=@Value Change=@OnChange @onclick:stopPropagation TabIndex=-1
|
||||
Open=@OnOpen Disabled=@(Editor.Disabled || !EnabledModes.HasFlag(Editor.GetMode())) ShowHSV=@ShowHSV
|
||||
ShowRGBA=@ShowRGBA ShowColors=@ShowColors ShowButton=@ShowButton
|
||||
HexText=@HexText RedText=@RedText GreenText=@GreenText BlueText=@BlueText AlphaText=@AlphaText
|
||||
ButtonText=@ButtonText
|
||||
>
|
||||
@ChildContent
|
||||
</RadzenColorPicker>
|
||||
ShowRGBA=@ShowRGBA ShowColors=@ShowColors ShowButton=@ShowButton HexText=@HexText RedText=@RedText GreenText=@GreenText
|
||||
BlueText=@BlueText AlphaText=@AlphaText ButtonText=@ButtonText ChildContent=@ChildContent />
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
Reference in New Issue
Block a user