Multiple issues with copy/paste content with tags

XMLWordPrintable

    • Critical
    • [🐞 Fix] Fixed issues with copy/paste with tags

      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

            Assignee:
            Leon Kiz
            Reporter:
            Leon Kiz
            Thomas Lauria
            Stephan Bergmann, Sylvia Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: