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

       Web browser: ---
            Bug ID: 54410
           Summary: VisualEditor: Regression: Copy/paste of existing
                    templates and images broken (unformatted text pasted
                    only)
           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: ---

Copy/pasting a template that existed prior to the current session only pastes,
as literal text, the unformatted text output of the template. Template boxes,
etc are ignored. Images are ignored unless they have alt-text, in which case
the alt-text is pasted in the position the image would be if shown.

Templates added in the current editing session can be copied and pasted as
expected.

Possibly this is a result of the fix to bug 49396?

To reproduce:
1. Load any page with 1 or more templates or images, e.g.
https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=573844495

2. select and copy a template or image
3. Paste the somewhere else in the page.

Expected behaviour: the full template or image is pasted
Actual behaviour (templates): Only text output of the template is pasted,
unformatted and unlinked.
Actual behaviour (images): Only the image caption is pasted, unformatted and
unlinked.

-- 
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