Page MenuHomePhabricator

Pasting from clipboard should not keep only basic formatting
Closed, DuplicatePublic


Migrated from:


Pasting content to a content editable area shows it with the source format by default. Currently we remove all formatting what causes links and references to be lost when moving things around.


As a user<i>, I can paste content from different sources without formatting that I cannot later control but preserving the one I can</i>//<i>, so that it becomes usable in the translation</i>.//

Acceptance Criteria

  • When pasting some rich text, the result is plain text added to the translation with some basic formatting (as described below):
  • If the text contains fragments with bold, italics, or lists, those will be preserved.
  • If the text contains article links, those will be kept.
  • If the text contains references, those will be kept.
  • (Optional) If the text contains links to a different Wiki, those will be adapted using Wikidata to point to the target wiki.
  • (Optional) If the text contains external links, those will be preserved (if it is possible to use the link card with them).

Event Timeline

Amire80 assigned this task to santhosh.Feb 20 2015, 4:31 PM
Amire80 raised the priority of this task from to High.
Amire80 added a subscriber: Amire80.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 20 2015, 4:31 PM
santhosh removed santhosh as the assignee of this task.Feb 24 2015, 6:24 AM
santhosh lowered the priority of this task from High to Normal.
santhosh added a subscriber: santhosh.
Arrbee updated the task description. (Show Details)Feb 24 2015, 6:43 AM
Arrbee set Security to None.