https://bugzilla.wikimedia.org/show_bug.cgi?id=49396

       Web browser: ---
            Bug ID: 49396
           Summary: VisualEditor: Can't copy/paste a reference unless you
                    select text either side
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Create a document:

Foo <ref>Bar</ref> Baz
<references />

=>

Foo [1] Baz
1. Bar


==Test==
1. Select and copy from '[' to ']' (no whitespace)
2. Try to paste
3. Note you now just have plain text [1]
4. Note also if you make a larger selection (e.g. from 'o' to 'B'), copy/paste
works fine.

This might be to do with whitespace truncation, and probably applies to other
inline nodes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to