#6838 closed Bug (invalid)
Applying formats should take <br> tags into account
Reported by: | Lynne Kues | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.4.2 |
Keywords: | IBM | Cc: |
Description
Open the attached file. Select all, copy, paste into CKEditor.
FF
Select any line in the text. Apply a format. The entire pasted text gets the selected format. Only the selected line should get the selected format.
IE
Select the "Link types for extraction..." line in the text. Apply a format. The selected line, plus the two lines after it get the selected format. Only the selected line should get the selected format.
When applying formats, the editor should take <br> tags into account. This is the expected user behavior.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | example.txt added |
---|
comment:1 follow-up: 2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
Replying to garry.yao:
When we're in paragraph enterMode, block format doesn't stop at br, also note line-breaks in plain text doesn't get mapped directly to paragraphs in wysiwgy, for that to happen, please use the "paste as plain text" button instead.
From a format standpoint, I think the desired/expected behavior is to have the <br> tags (vs. having <br> tags changed to <p> tags).
I am confused about Paste as Plain Text. I thought this operations was for content with markup. I also do not understand why ctrl-v and Paste as Plain Text is operating differently on FF for the attached content. If I ctrl-v, the entire pasted content is treated as a paragraph. If I Paste as Plain Text, the pasted content is broken into a series of paragraphs (which is the more desired behavior). I think it is confusing to have to "Paste As Plain Text" text content.
When we're in paragraph enterMode, block format doesn't stop at br, also note line-breaks in plain text doesn't get mapped directly to paragraphs in wysiwgy, for that to happen, please use the "paste as plain text" button instead.