radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.

Home Page:https://www.radzen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HtmlEditor - Edit styled links

Grimston opened this issue · comments

Describe the bug
When using the HTMLEditor, it's not possible to select the link and edit it, as clicking on the element will trigger the link. You cannot select the styled button. You can select the text, but clicking on them will redirect the user.

To Reproduce
Steps to reproduce the behavior:

  1. Create a HTMLEditor
  2. Enter the snippet below as HTML Src
  3. Try to edit the link on the styled link.
<section class="bg-light p-5">
    <div class="container">
        <div class="row justify-content-center align-items-center">
            <div class="col-md-8 text-center">
                <h2>Call to Action Title</h2>
                <p class="lead">Call to Action Text</p>
                <a href="#" class="btn btn-primary btn-lg">Call to Action Button</a>

                <a href="#">This can be selected, but don't click me...</a>
            </div>
        </div>
    </div>
</section>

Expected behavior
Links should not activate, but instead select the element to edit.

Desktop:

  • OS: Windows
  • Browser Firefox
  • Version 124.0.2 (64-bit)