Last modified: 2013-07-30 15:46:38 UTC
Tested on Firefox 22, Monobook and Vector skin. DOES NOT seem to affect Chrome 28 on Vector. Steps to reproduce: - Open the [[Olive Branch High School]] in the visual editor. - Press CTRL+A to select everything on the page. - Press Delete. The result will be that the entire document becomes uneditable since there is no editable section anymore that the user can click. The console will report the error: - "TypeError: node is null" If you don't click anywhere else after pressing delete and start typing the visual editor will behave extremely wonkey. I have seen behavior that ranged from adding an unending steam of pawns to cursor focus jumping all over the page. Additionally, the console will fill with a hailstorm of errors (Below is just a small sample). - Error: ve.dm.Document.getNodeFromOffset(): offset -1 is out of bounds - TypeError: parent is null - Error: Unbalanced set of replace operations found - Error: Unbalanced input passed to document - Error: Invalid retain length, cannot retain backwards The above is likely just a consequence of the deletion . If i look at firebug's output it seems that Ctrl+A will delete these lines: <p data-parsoid="{"dsr":[0,45,0,0]}" class="ve-ce-branchNode"> <span class="ve-ce-branchNode-slug ve-ce-branchNode-inlineSlug"></span></p>
Slight alteration: Chrome 28 does seem to be affected after all, though the problem is less severe. (Chrome) - Open the [[Nodeulseom]] in the visual editor. - Press CTRL+A to select everything on the page. - Press Delete. Chrome will place a pawn (♙) in the article as soon as one starts typing after the deletion. Often this pawn is also a hyperlink. Firefox will behave in a similar fashion on this specific page. Both Chrome and Firefox report a single error in the console: "Error: Offset could not be translated to a DOM element and offset: 3" This is probably because the article in this instance isn't blanked entirely. Ctrl+a followed by delete doesn't seem to delete the categories present in the article.
On Firefox I can get pawns too, or keypresses causing the character to appear twice, if I do 1. Control-A 2. Delete 3. type 'a' But the page becomes unusable if I follow these steps: 1. Control-A 2. Delete 3. Click on the link icon, or anything else 4. type a- doesnt work
This is a duplicate of bug 50947 - merging. *** This bug has been marked as a duplicate of bug 50947 ***