https://bugzilla.wikimedia.org/show_bug.cgi?id=61525
Bug ID: 61525 Summary: VisualEditor: Adding a left aligned image just before the reflist distorts the position of reflist and "Cannot call method 'getModel' of null " appears while trying to fix by pressing return Product: VisualEditor Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Editing Tools Assignee: rm...@wikimedia.org Reporter: ryasm...@wikimedia.org CC: jforres...@wikimedia.org, jh...@wikimedia.org, krinklem...@gmail.com, rm...@wikimedia.org, ryasm...@wikimedia.org Web browser: --- Mobile Platform: --- Created attachment 14624 --> https://bugzilla.wikimedia.org/attachment.cgi?id=14624&action=edit Screenshot Steps to reproduce: 1.Open a page with VE 2.Add a text with reference 3.Add a reflist 4.Go to the next line of the text with reference and add an image 5.Go to the Media settings of the image and set the alignment to left(This should move the image between reference and reflist , instead it distorts the reflist position and it appears just beside the image instead of appearing below it) 6.Save the page 7.Reopen the page 8.Try to the position of reflist it by pressing enter Observed Result: No newline gets entered , an error appears in the console: Uncaught TypeError: Cannot call method 'getModel' of null See the screenshot attached Test Environment: http://en.wikipedia.beta.wmflabs.org/ Browser: Chrome Version 26.0.1410.65 OS: MAC OS X 10. 8. 5 Page:http://en.wikipedia.beta.wmflabs.org/wiki/Anotherdeep?veaction=edit -- 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