froala/wysiwyg-editor

Loosing relative link when copying

Opened this issue · 0 comments

Expected behavior.

If you copy stylized text, you should copy it with all styles.

Actual behavior.

Text copies without styles

Steps to reproduce the problem.

1- Write something, add some styles to the text like color, font family

for example our html before coping
<span class="atwho-inserted" data-atwho-at-query="@"><a data-alias="@" fr-original-style="" href="" id="employee$6103" style="user-select: auto;">TextTextText</a></span>&nbsp;

2- Select and copy writen text
3- Remove the content and paste the text. It appears without the styles that you added

for example our html before coping
<span data-atwho-at-query="@"><a data-alias="@" fr-original-style="" href="" style="user-select: auto;">TextTextText</a></span>&nbsp;

Editor version.

4.0.18

OS.

Win, osx

Browser.

Chrome