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

       Web browser: ---
            Bug ID: 58003
           Summary: VisualEditor: "Uncaught Error:Invalid start offset:-1"
                    shows up while deleting the bullets of a bulleted list
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Steps to reproduce:

There are several issues in this bug.I tried to document all of them
chronologically in one issue for convenience.


1.click on the Edit button
2.click on the bullet list icon.
3.Click on tab to add indentation to the list for several times.
4.Now press Enter/Return
5.It deletes the bullets, where as pressing delete does not do that.
6.After deleting all the bullets by pressing return it goes to the next line 
7.Again add bulleted list with indentation on the first line
8.Now this time if you press Enter it goes to the next line but does not add
next bullet.
9.Now go to the end of the first line and press enter, this time the next
bullet gets added.
10.Now try adding indentation to the second item , it does not work
11.Delete the bullet and repeat the action again,this time it will add
indentation.
12.Now if you save the page , you will see there is no bullets in the read mode
13.If you try to delete all the content by selecting with mouse pad, it gives
the error:
"Uncaught Error:Invalid start offset:-1"


Test Environment: production
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
Example Page where in the read mode there is no bullets but in the edit mode
they appear:

http://en.wikipedia.beta.wmflabs.org/wiki/New_bullet

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