Paste as plain text not working correctly with content from Word that includes blank lines
|Reported by:||tmonahan||Owned by:|
|Component:||Plugin : Paste from Word||Version:||3.1|
When text content in Word contains blank lines and it is pasted into CKEditor as plain text, some of the blank lines are removed. This seems to happen across all browsers - I have tested FF, IE and Chrome.
To reproduce, enter the following content in Word. Note: There are 2 blank lines between 'aaaa' and 'bbbb' and one blank line between the remaining content.
aaaa bbbb cccc dddd
Now copy this content from Word and paste in into CKEditor using the 'Paste as Plain Text' dialog.
Problem: Some of the blank lines have been removed in CKEditor. There is now only one blank line between 'aaaa' and 'bbbb', and there are no blank lines in the remainder of the content.
The HTML generated for this content is:
<p> aaaa</p> <p> <br /> bbbb</p> <p> cccc</p> <p> dddd</p>
Note: This is the same markup that is generated for a slightly different usecase in ticket #8403, so the 2 issues may be related.
Change History (5)
comment:1 Changed 4 years ago by j.swiderski
- Status changed from new to confirmed
- Version changed from 3.6.2 to 3.1
comment:2 follow-up: ↓ 3 Changed 3 years ago by garry.yao
- Resolution set to invalid
- Status changed from confirmed to closed