Unplanned
Last Updated: 26 Apr 2023 14:49 by Adam
Adam
Created on: 26 Apr 2023 14:49
Category: Editor
Type: Feature Request
1
Allow setting class to <hr/> elements when programmatically adding them through ExecuteAsync()

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.

0 comments