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

       Web browser: ---
            Bug ID: 50850
           Summary: VisualEditor: Inspecting image immediately after
                    inserting it causes exception
           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: ---

1. Put the cursor in the middle of a paragraph
2. Insert an image
3. The inserted image is now selected, and displays an inspector button
4. Click the inspector button
5. You get an empty image dialog and an exception because getFocusableNode()
returned null

It seems this happens because the post-insertion selection in step 3 covers
something like </p><img></img><p> rather than just the image.

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