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

       Web browser: ---
            Bug ID: 50446
           Summary: VisualEditor: Link inspector in a slug can select
                    content in the previous or following paragraphs
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: esand...@wikimedia.org
          Reporter: jforres...@wikimedia.org
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    rm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

If the cursor is in a slug and you press the link button, the selection jumps
to the nearest content - which crosses out of the local <p> and into the <p>
beforehand or afterwards (whoops).

Link inspector should detect that it is in a slug and not attempt to mangle the
selection with nearestContentOffset, but just trigger with a 'blank' selection.

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