Last modified: 2014-07-29 02:27:57 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 T70455, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68455 - VisualEditor: Inserting Whitespaces at the end of a preformatted text takes the cursor out of the pre tags.
VisualEditor: Inserting Whitespaces at the end of a preformatted text takes t...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-23 17:40 UTC by Ritu Swain
Modified: 2014-07-29 02:27 UTC (History)
3 users (show)

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


Attachments
screenshot_chrome1 (79.78 KB, image/png)
2014-07-23 17:40 UTC, Ritu Swain
Details
screenshot_chrome2 (79.51 KB, image/png)
2014-07-23 17:41 UTC, Ritu Swain
Details
screenshot_test2 (14.57 KB, image/png)
2014-07-24 15:24 UTC, Ritu Swain
Details

Description Ritu Swain 2014-07-23 17:40:47 UTC
Created attachment 16014 [details]
screenshot_chrome1

In Chrome 36-
Scenario#1-
1> Open a page in VE and select Preformatted from text style menu.
2> enter some text at the beginning and hit the spacebar till the cursor reaches the end of the line. Further pressing the spacebar takes the cursor out of the </pre> tag. See screenshot_chrome1.

Scenario#2- tried the above steps, but with some characters at the end of the line and then inserting whitespace.See screenshot_chrome2. The cursor still  moves out.

In FF 31-
Tried the above steps without any characters at the end of the line and just inserting whitespaces. The cursor moves out.

In Safari- No issue found.
Comment 1 Ritu Swain 2014-07-23 17:41:29 UTC
Created attachment 16015 [details]
screenshot_chrome2
Comment 2 Ritu Swain 2014-07-23 18:20:23 UTC
Test Environment:Production
Comment 3 Ritu Swain 2014-07-24 15:24:01 UTC
Created attachment 16033 [details]
screenshot_test2
Comment 4 Ritu Swain 2014-07-24 16:03:59 UTC
Issue found in test2 too. 
Steps-

1> Open a page in VE and select Preformatted from text style menu.
2> enter some text at the beginning and select Language inspector.Don't click any buttons on the inspector.
3> Now click anywhere inside the preformatted.This closes the inspector dialog. 
4>Now hit the spacebar till the cursor reaches the end of the line. Further pressing the spacebar takes the cursor out of the </pre> tag. See screenshot_test2.

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


Navigation
Links