Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Any idea how to fix-
When I paste from word I get added space such as using CKeditor
<p> </p>
and
between some characters.
Driving me crazy! lol.
Comments
Comment #1
TwoDIs this similar to #813584: IE 7+ Table Rendering Issue, and thus a duplicate of #510552: Invalid XHTML: missing trailing slashes, absolute urls and uppercase tags as well?
Comment #2
mattwmc CreditAttribution: mattwmc commentedNo, I don't have teaser break plugin enabled.
Also, it doesn't happen on the demo: http://ckeditor.com/demo
Comment #3
sunComment #4
Stijn Vanhandsaeme CreditAttribution: Stijn Vanhandsaeme commentedsubscribe
Comment #5
Stijn Vanhandsaeme CreditAttribution: Stijn Vanhandsaeme commentedComment #6
kehan CreditAttribution: kehan commentedsubscribing
Comment #7
mattwmc CreditAttribution: mattwmc commentedSo others are having the same issue, and its been over a year since I reported this - and nothing?
I'm still getting it, btw. Now I tell users not to paste from Word.
Comment #8
mitchspeers CreditAttribution: mitchspeers commentedActually, this also happens when I paste from Word or take the extra step to paste from Word into TextEdit (or Notepad), change to plain text then copy the result into CKeditor, so it's not just a Word issue.
Full HTML is default input format
Only 2 filters enabled: URL filter and HTML corrector
What is being added is
<p> </p>
in front of every "p" tag that SHOULD be there.Any help would be hugely appreciated!
Comment #9
TwoDI don't think this is something we can do anything about. Wysiwyg runs no code during paste operations.
Format/filter settings won't make any difference since they don't run until the content is rendered, and this problem shows up as soon as the editor is diabled.
Which browser(s) is this happening in?
Can you reproduce it on http://ckeditor.com/demo? (Use their Source mode button instead of disabling the editor.)
Comment #10
sunSorry, without further information this issue can only be closed as not reproducible.
Feel free to re-open this issue if you want to provide further information. Thanks.
Comment #11
kehan CreditAttribution: kehan commentedRight seriously frustrating but my final workaround on drupal 7 is use http://drupal.org/project/emptyparagraphkiller
It was happening in chrome and firefox, and not in IE (wtf!).
Also see http://drupal.org/node/901360 as this is kind of a duplicate of that
Comment #12
Tran CreditAttribution: Tran commentedThis still happens today.
Every paste job creates an extra paragraph.
In fact,everytime I bold a heading, it creates a paragraph break underneath it.
It's a time waster. After posting, I have to clean it up, every single time.