When I select a part of the text and change the font family, bold, color, or anything related the style and immediately click on the Insert Link button it loads a html code on the link text input. The HTML even contains the element I selected, but it should just contains the text, not the tags anything else.
Description
When I select a part of the text and change the font family, bold, color, or anything related the style and immediately click on the Insert Link button it loads a html code on the link text input. The HTML even contains the element I selected, but it should just contains the text, not the tags anything else.
How to reproduce?
You can check even on the demo page: https://alex-d.github.io/Trumbowyg/demos/
Easier to understand here:![Peek 2021-06-01 22-20](https://user-images.githubusercontent.com/6453377/120409790-15fde100-c328-11eb-936a-8de365c2b1b8.gif)