Opened 12 years ago
Last modified 9 years ago
#9998 confirmed Bug
In Chrome SPAN tags appear when removing BR tags — at Initial Version
Reported by: | lmeurs | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Blink Webkit | Cc: | laura@…, ben@…, matti.jarvinen@…, ivanjh@…, joel.peltonen@… |
Description
Occurs in Chrome v24.0.1312.56 / CKEditor 4.0.1 (revision d02739b) / CKEditor 4 DEV (Standard) (revision d02739b) (nightly build demo)
Did not occur in Firefox v17.0.1
When you have a paragraph with several lines of text, ie.:
<p>line1<br /> line2</p>
and want to create 2 separate paragraphs, you could go with your cursor to the end of line1, press ENTER to create a new paragraph and press DELETE to remove the whiteline caused by the BR tag. Then CKEditor puts some HTML in a SPAN tag with a line-height styling.
<p>line1</p> <p><span style="line-height: 1.6em;">line2</span></p>
Other examples: It also happens when trying to create a single line out of the next cases:
<p><br /> line2</p>
and
<p>line1</p> <p>line2</p>