Selecting the whole line
Steps to reproduce:
1.Open a page with VE
2.Select a text to apply the paragraph format "Preformatted".Select the text in a way so that it selects the whole line.Check the screenshot of selection to better understand.
3.Now select the option preformatted from paragraph styling options
Observed Result:
The Preformatted option gets applied to the other following text/element even though they are not selected.
If the selection is done such way that it spans multiple empty lines then the preformatted options gets applied to those empty lines too.
See the screenshots 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/28th_december
Version: unspecified
Severity: normal
Attached: