Last modified: 2013-06-23 17:09:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50796, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48796 - VisualEditor: Deleting a line break causes strange results
VisualEditor: Deleting a line break causes strange results
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2013-06-06
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-24 19:28 UTC by Tyler Romeo
Modified: 2013-06-23 17:09 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Bug in Firefox 21 (52.25 KB, image/png)
2013-05-24 20:02 UTC, Jesús Martínez Novo (Ciencia Al Poder)
Details

Description Tyler Romeo 2013-05-24 19:28:00 UTC
Steps to Reproduce:

1. Go to https://www.mediawiki.org/wiki/API:Alltransclusions
2. Insert a blank line after the first paragraph.
3. Use the Del key (not backspace) to delete that line.

Rather than deleting the line, the first keypress (sometimes) does nothing. And then the second keypress finally gets rid of the newline, but attempting to save the page shows a diff with the newline still added.
Comment 1 Jesús Martínez Novo (Ciencia Al Poder) 2013-05-24 20:02:06 UTC
Created attachment 12390 [details]
Bug in Firefox 21

The described problem is slight different for me (Firefox 21)

When inserting a new line and then deleting it, the paragraph is swapped with the next one.

Although both paragraphs are still present on the visual editor, the edit diff shows that the first one has been removed.
Comment 2 James Forrester 2013-06-23 17:09:31 UTC
This was fixed in the re-write of deletion handling in CE; sorry for not marking it as such beforehand.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links