Insert from source produces error

XMLWordPrintable

    • High
    • None
    • When editing a segment and using ctrl a to select all then ctrl . to copy source content did lead to an error.
    • None

      problem

      • Open a already translated segment
      • use ctrl - a to select all
      • then use ctrl - . to copy source from target
      • → JS Exception: 
      editor.js?v=development:2558 
      Uncaught CKEditorError: document-selection-wrong-position {"range":{"start":{"root":"main","path":[0,30],"stickiness":"toNext"},"end":{"root":"main","path":[0,64],"stickiness":"toPrevious"}}}
      Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-document-selection-wrong-position
          at Ma._validateSelectionRanges (editor.js?v=development:2558:100775)
          at Ma._replaceAllRanges (editor.js?v=development:2558:100409)
          at Ma._setRanges (editor.js?v=development:2558:90625)
          at Ma.setTo (editor.js?v=development:2558:89938)
          at Ma.setTo (editor.js?v=development:2558:99553)
          at Fa._setTo (editor.js?v=development:2558:97029)
          at Rl.setSelection (editor.js?v=development:2558:225749)
          at Object.callback (editor.js?v=development:1243:20)
          at rd._runPendingChanges (editor.js?v=development:2558:248707)
          at rd.change (editor.js?v=development:2558:245766)
          at EditorWrapper.replaceContentInRange (editor.js?v=development:1201:28)
          at EditorWrapper.addDataT5Format (editor.js?v=development:913:14)
          at constructor.setData (EditorNew.js?_dc=1772440956988:103:25)
          at constructor.setValue (EditorNew.js?_dc=1772440956988:187:12)
          at constructor.copySourceToTarget (Editor.js?_dc=1772440956677:1910:32)
          at confObj.fn (Editor.js?_dc=1772440956677:597:25)
          at constructor.processBinding (ext-all-debug.js:147035:42)
          at constructor.handleTargetEvent (ext-all-debug.js:146983:33)
          at constructor.callParent (ext-all-debug.js:12493:32)
          at constructor.handleTargetEvent (EditorKeyMap.js?_dc=1772440956993:53:22)
          at constructor.fire (ext-all-debug.js:20731:42)
          at constructor.fire (ext-all-debug.js:34336:27)
          at constructor.doDirectEvent (ext-all-debug.js:34417:16)
          at constructor.onDirectEvent (ext-all-debug.js:34380:18)
          at HTMLDivElement.method (ext-all-debug.js:6862:35) 

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

              Created:
              Updated:
              Resolved:
              None
              None