Closed (fixed)
Project:
Quote
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2010 at 23:23 UTC
Updated:
5 Jan 2012 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
Alcaparra commentedI have quote module. Ckeditor adds <'p>&nb'sp;<'/p> and brokes the quote. Any solution?
Comment #2
gagarine commentedlinked to #739088: Use include mode by default for the global profil
Comment #3
DanilaD commentedSubscribing, I have the same problem.
Comment #4
DanilaD commentedFound a solution. Edit file quote.module, function _quote_filter_process. Add the lines from attached file just after the following two lines
Attached code will replace <'p>many spaces, and a tab, and a new line [quote=...]<'/p> introduced by CKEditor with simply [quote=...], the same will be done for closing [/quote], and then Quote module can do it's work.
If in your case CKEditor adds some more stuff, please attach a text file which shows exactly how it looks like.
Comment #5
wwalc commentedI haven't tried it, but setting enter mode to "BR" in CKEditor administration area may fix the problem as well.
Comment #6
DanilaD commentedCompressed it into one regular expression instead of two. Guidelines are the same — in the original quote.module, insert lines from the attached file just after
Comment #7
DanilaD commentedThe code change that I suggested in #6 is still applicable in the new Quote 6.x-1.1.
Comment #8
Benj commentedThis is what's occurring for me. (CKediitor 3.1)
I start out with this, a regular post or comment:
After clicking the quote button CKeditor has this:
After saving and opening the node view, this is rendered:
Comment #9
Starminder commentedsubscribe
Comment #10
Zen commentedWhere has this been tested? How does it work with other WYSIWYGs?
Comment #11
WildBill commentedI just increased the weight of the Quote filter so that it was the last filter to be run, and that fixed it for me (without using the patch above). I know the README says to put the Quote filter before the Linebreak filter, but I put it after, and it solved the problem mentioned in this issue, without any side effects so far.
Comment #12
fadgadget commentedThanks Bill. I came here looking for a solution and i am glad i found yours. Works great for me.
Comment #13
Zen commentedMarking as fixed as per #11. Thanks WildBill :)
-K