Opened 10 years ago
Last modified 10 years ago
#12410 confirmed Bug
[Blink, Webkit] Pasting plain text into styles text is causing text formatting lost.
Reported by: | Sufian Saory | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 4.0 |
Keywords: | Blink Webkit | Cc: |
Description (last modified by )
Copying plain text, say from notepad, and pasting into editor in Chrome is causing the text format to be messed up.
Steps to reproduce:
- use the attached sample html file
- copy some text from notepad.
- paste into editor
Browser and OS:
- Google Chrome
- Windows 8
Edit:
- Use Blink or Webkit browser
- Load any sample and switch to source mode
- Paste below code and switch to wysiwyg
<table > <tbody> <tr> <td> <span style="font-size:23pt">explorer deliver</span> </td> </tr> </tbody> </table>
- Type "some text" in notepad and copy this text with ctrl+C
- Paste this text in
explorer del^iver
Result: Span is removed.
This problem can be reproduced in Blink and Webkit brwosers from CKEditor 4.0. I was able to reproduce this in Windows and Linux but not Mac.
Attachments (2)
Change History (6)
Changed 10 years ago by
Attachment: | source.html added |
---|
comment:1 Changed 10 years ago by
Keywords: | Chrome added; copy paste plain text chrome removed |
---|---|
Status: | new → pending |
Version: | 4.4.4 |
Could I ask you to provide more details here? Perhaps a screen cast to see what exactly is happening.
- You have attached HTML file. I assume you want to have it opened in notepad and then paste content from it into editor - is that correct?
- What exactly is messed up? There is no indentation, some attributes get removed?
Changed 10 years ago by
Attachment: | chromePasteError.png added |
---|
comment:2 Changed 10 years ago by
Steps to reproduce:
- Open the attached html file in any html editor and copy the html.
- Go to source mode of editor.
- Paste the copied html into editor.
- Go back to wysiwyg mode.
- Open notepad and write some text there. Copy some text from notepad.
- Paste the copied text into editor.
Browser and OS:
- Google Chrome
- Windows 8
Please see the attached chromePasteError.png for visual explanation.
Thanks
comment:3 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Keywords: | Blink Webkit added; Chrome removed |
Summary: | Copy pasting plain text in google Chrome is causing text formatting to be messed up → [Blink, Webkit] Pasting plain text into styles text is causing text formatting lost. |
Version: | → 4.0 |
comment:4 Changed 10 years ago by
Status: | pending → confirmed |
---|
Thank you. I have managed to reproduce this problem with details you have provided.
source html file