-
Type:
Bug
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Editor general
-
Critical
-
[🐞 Fix] Fixed issues with copy/paste with tags
-
Emptyshow more show less
The problem:
There are two issues with copy/paste text with tags:
#1
- open segment target for editing
- copy part of text containing tag(s) from segment source by selecting it and pressing ctrl+c
- without clicking into editor press ctrl+v
- as a result we will have the div/span markup in the editor instead of proper tag
#2
- open segment target containing whitespace tag for editing
- select part of the text with the whitespace tag with ctrl+c
- open another segment that doesn't have any tags in it
- paste content with ctrl+v
- save segment
- as a result we will have the tag sent to the server as img markup instead of our div/span#
#3
- Open segment A, copy the segment content from editor
- Close and open segment B, select all, insert the previously copied content
- Save segment → the inserted imgs tags are saved to the backend producing an error there
- Solution: remove inserted img tags which are not present in the tagmap
Solution:
Fix those issues
- is caused by
-
TRANSLATE-4911 Ctrl + V and Ctrl + 1 not working reliably
- Done