Opened 14 years ago
Last modified 11 years ago
#5988 confirmed Bug
FF/Chrome: Paragraphs go nuts after modifying copy-pasted text
Reported by: | Jude Allred | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Output Data | Version: | 3.0 |
Keywords: | Chrome | Cc: |
Description (last modified by )
This bug was discovered as a user attempted to manipulate some copy-pasted song lyrics. Here's an excerpt of the source that was generated by the paste:
<p> Big wheels keep on turning,<br /> carry me home to see my kin<br /> singing songs about the southland.<br /> I miss ole bamy once again and I think it's a sin.<br /> Well, I heard Mister Young sing about her.<br /> Well, I heard ole Neil put her down.<br /></p>
Steps:
- go to ckeditor.com/demo
- set the source to the code snippet above
- return to wysiwyg mode
now...
In Firefox:
- Go to the end of the Nth line (where N > 1)
- Hit Enter
- Hit Backspace
- Hit Shift + Enter
- [Bug] Watch first line disappear and cursor jump to top
In Chrome:
- Go to the end of the Nth line (where N > 1)
- Hit Enter
- Hit Backspace
- Hit Shift + Enter
- You are now unable to get rid of your newly created paragraphs
Change History (3)
comment:1 follow-up: 2 Changed 14 years ago by
Component: | General → Core : Output Data |
---|---|
Description: | modified (diff) |
Keywords: | Chrome added |
Status: | new → confirmed |
Version: | → 3.0 |
comment:2 Changed 14 years ago by
Correction krst:
Confirmed in Chrome 7 since CKE 3.0
and
Under Firefox 3.6.10
- CKE 3.0 - shift+enter - no response
- CKE 3.2 - an error occured once in firebug console
w.getFirst() is null [Break on this error] while(u=l.call(this,t))v=u;return v;};...w.append(t.document.createText(''));
- CKE 3.4.1 and .4.2 - confirmed
comment:3 Changed 11 years ago by
I have checked this behaviour in CKEditor 4.2.1.
In Firefox step 4 doesn't create new line, cursor is moved to next line only.
In Blink and Webkit: Text gets split in two and it is impossible to join two paragraphs again.
No JS errors are thrown.
Confirmed in Chrome 7 since CKE 3.0 and Under Firefox 3.6.10 CKE 3.0 - shift+enter - no response CKE 3.2 - an error occured once in firebug console