VisualEditor: [Regression] Copy/paste of existing templates and images broken (unformatted text pasted only)
Closed, ResolvedPublic


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.
  1. select and copy a template or image
  2. 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.

Version: unspecified
Severity: normal
See Also:

bzimport set Reference to bz54410.
Thryduulf created this task.Via LegacySep 20 2013, 11:44 PM
Jdforrester-WMF added a comment.Via ConduitDec 3 2013, 12:52 AM

This was fixed some time ago; sorry for the slow update.

Jdforrester-WMF set Security to None.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.