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

       Web browser: ---
            Bug ID: 59603
           Summary: VisualEditor:  Pasting ==Rich text headings== into the
                    caption cannot be de-formatted
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: jforres...@wikimedia.org
          Reporter: wmf.whatamido...@yahoo.com
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, ryasm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Intention:
Add a caption to an image without having to type out the name by hand.

Steps to Reproduce:
1. Add an image in VisualEditor (e.g., an image of a person).  Open the caption
dialog.
2. Go to another window (e.g., an article about the person) and copy a =Name=
from the article title.
3. Paste the rich text into the caption.

Actual Results:  
The pasted text retained rich formatting.  It is not possible to remove the
=Heading= formatting.  Only '''text''' <s>formatting</s> can be added or
removed in that dialog.  So if you copy the article title from [[George
Washington]] and paste it into the caption box, then it produces this wikitext:

= <span dir="auto">George Washington</span> =

and there is no way to remove the formatting.

Expected Results:  
That either you could remove the formatting, or ideally, that the caption box
would strip the unwanted formatting automagically.  There's no obvious reason
why someone would need or want a ==Heading== of any level in a caption.

Reproducible: Didn't try

Confirmed in Safari 6 and Firefox 26

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

Reply via email to