HtmlEditor - Edit styled links
Grimston opened this issue · comments
Nathan commented
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:
- Create a HTMLEditor
- Enter the snippet below as HTML Src
- 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)