Unplanned
Last Updated: 16 Dec 2024 16:10 by Kamil
Created by: Kamil
Comments: 0
Category: Editor
Type: Feature Request
2

I'm using the Editor in a form along with several other inputs (e.g. TextBox, NumericTextBox).

If the user enters an invalid value for the other inputs, they get a red border. The Editor, however, does not have such a border when its value is invalid and thus the form elements are not consistent. Please add a red border for the invalid state of the Editor, too.

===

ADMIN EDIT

===

At this stage, the Editor is not treated as a standard input and it does not support all of the input's capabilities - such as invalid state, disabled state, sizing, fill and more.

The current request may potentially be part of a bigger design story that strives to align the Editor's functionalities with the rest of the inputs ( TextBox, NumericTextBox and more).

The content area of the Editor currently has a "k-invalid" class when the value is not valid. As a workaround for the time being, you may add a red border with CSS: https://blazorrepl.telerik.com/mSvmFglg25NXJw7K05.
Unplanned
Last Updated: 09 Dec 2024 13:49 by Miroslav

The Font Size and Font Family tools display the currently applied style value in the user selection only if the selection is inside one HTML element. This prevents the user from resetting (removing) the current font style.

Test scenario:

  1. Select all the Editor content and apply a custom font size or font family.
  2. Select content, which has the same styles applied (for example, the 2nd and 3rd "foo" on line 1).
  3. Select content, which has different styles applies (for example, the 1st and 2nd "foo" on line 1).
  4. Select content in multiple paragraphs (for example, the last "foo" and the first "bar").

@using Telerik.Blazor.Components.Editor

<TelerikEditor @bind-Value="@EditorValue"
               Tools="@EditorToolSets.All" />

<h2>Raw Editor Value</h2>

<TelerikTextArea @bind-Value="@EditorValue"
                 Rows="5" />

@code {
    private string EditorValue { get; set; } = @"<p><strong>Foo</strong> foo foo.</p><p>Bar <strong>bar</strong> bar.</p><p>Baz baz <strong>baz</strong>.</p>";
}

The possible workarounds are:

  • Reset (remove) the font styles separately for each HTML element.
  • Set another font style instead of resetting it.
Unplanned
Last Updated: 13 Dec 2024 13:43 by ADMIN
Created by: Stephan
Comments: 1
Category: Editor
Type: Bug Report
1

Hello,

the Color Tool Customization in the Telerik Editor is not working correctly. Colors are only generate HTML in Rgb.

The documentation says: "ValueFormat":  The format, which the Color tool will set in the generated HTML markup. Use Rgb or Hex.

Thanks in advance.

 

For example: https://docs.telerik.com/blazor-ui/components/editor/built-in-tools#color-tool-customization

@using Telerik.Blazor.Components.Editor

<TelerikEditor Tools="@EditorTools"
               @bind-Value="@EditorValue">
</TelerikEditor>

@code {
    private string EditorValue { get; set; }

    private List<IEditorTool> EditorTools { get; set; } = new List<IEditorTool>()
    {
        new ForeColor()
        {
            Title = "Text Color",
            Colors = new List<string> { "#f00", "#ff9900", "rgb(0, 128, 0)", "rgba(0, 0, 255, .8)" },
            ValueFormat = ColorFormat.Hex
        },
        new ViewHtml()
    };
}

 

Unplanned
Last Updated: 05 Sep 2024 11:39 by Prabhu
Created by: Prabhu
Comments: 0
Category: Editor
Type: Feature Request
3

Please allow the user to copy an image from the file system (for example, Windows Explorer) and paste it in the Editor without opening the image first.

Currently this works in the Kendo UI jQuery Editor.

Unplanned
Last Updated: 20 Jun 2024 17:26 by ADMIN

The Telerik Blazor Telerik Editor Insert Hyperlink functionality is not consistent with other Telerik Editor components and non Telerik Editors. Usually when dealing with Editors and the Insert Hyperlink feature, you can insert a hyperlink without need to select and convert existing text. You can also usually use the ctrl+k keyboard shortcut instead of clicking on the button. This does not work in the Telerik Blazor Editor.

The differences and lack of functionality has been raised as an issue by end users.

Expected Behaviour

  1. Ensure no text is selected. The Insert Hyperlink button should be enabled.
  2. Click the Insert Hyperlink button or press ctrl+k.
  3. Enter values for web address, text, tooltip and "open link in new window".
  4. Click insert. An anchor tag with the given text, link, etc. is created.

This can be reproduced on any of the Kendo UI for jQuery demo pages. It can also be reproduced within the editor on this very form.

Actual Behaviour

  1. Ensure no text is selected. The Insert Hyperlink button is not enabled and cannot be clicked.
  2. You must select existing text to be able to convert it to a hyperlink.

This can be reproduced on any of the demo pages that has the hyperlink button.

Unplanned
Last Updated: 04 Jun 2024 09:17 by Patrik Madliak
Created by: Patrik Madliak
Comments: 0
Category: Editor
Type: Bug Report
1

I am using the LinkCommandArgs to programmatically create a link. I am adding all the required parameters (string href, string text, string target, string title) but no link is added to the Editor content.

Reproduction: https://blazorrepl.telerik.com/QyOTwCuU48HSG5xp41.

===

ADMIN EDIT

===

For the time being, you may add a link using the HtmlCommandArgs tool and the "insertHtml" command like so: https://blazorrepl.telerik.com/GyuTmMkt56f3YiM754.

 

Unplanned
Last Updated: 01 Apr 2024 13:23 by Garrick
Created by: Garrick
Comments: 0
Category: Editor
Type: Feature Request
1
I need a way to distinguish a "Drag and Drop" operation from regular editing (including text copy/paste) in the Editor. Currently, ValueChanged fires for every change and there is no way to know whether the user typed something or dropped some content in the editable area.
Unplanned
Last Updated: 18 Mar 2024 10:15 by Fanie

The Editor currently supports only numeric ordered list. I'm looking for an option to add different types of ordered lists - roman and alphabetical.

Please add support for these types of ordered lists similiar to the KendoReact Editor.

Unplanned
Last Updated: 06 Jun 2024 08:28 by ADMIN

The Editor is not showing its Value in the following scenario:

  • Using JSInterop in OnAfterRenderAsync
  • Setting the Editor Value in OnAfterRenderAsync and after the JSInterop call
  • Blazor Server app (seems to work in WebAssembly)

Possible workarounds are:

  • Set the Editor Value and call StateHasChanged() before using JSInterop in OnAfterRenderAsync, or
  • Add some small delay (for example, await Task.Delay(100); ) before using JSInterop.
Unplanned
Last Updated: 04 Oct 2023 10:17 by Marc
Created by: Marc
Comments: 0
Category: Editor
Type: Feature Request
1
Please add the <blockquote> element as a built-in item in the Format tool dropdown, so that one doesn't have to use a custom tool.
Unplanned
Last Updated: 11 Sep 2023 09:43 by ADMIN

Hello,

after selecting a block of text in your editor and perform some block operation (for instance - change font size, name, ..) the original selection is lost. Would it be possible to keep that selection please?

Very thanks.

Miroslav

Unplanned
Last Updated: 08 Sep 2023 07:35 by Scott
Created by: Scott
Comments: 0
Category: Editor
Type: Feature Request
1

I would like to use the Editor in a more compact matter in my application. The buttons and button groups must be small, and the margins and the paddings must be smaller as well. 

The overall goal is to make the Editor take less amount of space in the UI. 

Unplanned
Last Updated: 14 Aug 2023 13:32 by Miroslav
I have added my own fonts in the value of the Editor. When I select a portion of the text that has some font the Font Name tool is not populated properly even tho the font is present in the options. 
Unplanned
Last Updated: 10 May 2023 13:42 by Sara

Description : 
When you click before the content in the Editor, the cursor should show up before the text. But, if a text was added programmatically, the cursor shows up after the added text instead.

To reproduce the problem :

1. Open this REPL example: https://blazorrepl.telerik.com/cdYpPabd37jvK9jt23

2. Click the "Insert Inline Text" button.

3. Try to place the cursor in front of the editor content.

Unplanned
Last Updated: 26 Apr 2023 14:49 by Adam

I have the following command

await _editorRef.ExecuteAsync(new HtmlCommandArgs("insertHtml", "<hr class='donotremove' />", false));

Currently, the <hr/> element is added but its class is stripped. This is not the case with other elements. 

Reproduction: https://blazorrepl.telerik.com/GRYyGUbH492QNMki44.

Please allow adding class to <hr/> elements, too.

Unplanned
Last Updated: 10 Apr 2023 07:35 by shyam
Created by: shyam
Comments: 0
Category: Editor
Type: Feature Request
8

Currently, our Editor component does not support a placeholder parameter. Having a placeholder parameter, similar to the Kendo UI Editor, would prove to be beneficial.

Unplanned
Last Updated: 27 Mar 2023 07:23 by Miroslav
Created by: Miroslav
Comments: 0
Category: Editor
Type: Feature Request
4

It seems that texts/options in the Format tool dropdown are not part of the localization (Paragraph, Heading 1..6).

Editor demo

===

ADMIN EDIT

===

A possible workaround for the time being is to customize the built-in Format tool to add your desired labels for the format options.

Unplanned
Last Updated: 27 Mar 2023 13:18 by ADMIN

Hello,

We've come across a bug. It seems as whatever tool button(s) that should be selected is not shown correctly. It appears to show the previously selected.

 

Repro steps:

  1. Write two different formatted texts on separate lines in your Editor component.
  2. Move the cursor to the first line
  3. Move the cursor to the second line that has a different formatted text. Note that the tool button for the formatted text on the first line is shown as selected.

    This should happen:

 

Is this an intended behaviour? Our users are confused :)

/Patrik

Unplanned
Last Updated: 13 Mar 2023 06:53 by Miroslav
When I add an unordered list, increase the font size of the text, the markers (bullet) are not resized properly based on the font-size. 
Unplanned
Last Updated: 17 Feb 2023 16:06 by Garrick
Created by: Garrick
Comments: 0
Category: Editor
Type: Feature Request
1

Hello,

We are adding references to other documents via a drag an drop over the text as a superscript hyperlinks. Our users are complaining that when we drag and drop onto the Blazor editor control, it is hard to see exactly where the drop is going to be.

The Kendo UI Editor supports this.

1 2 3