Home »
FUDforum »
How To »
Cannot quote post with CKEditor
Re: Cannot quote post with CKEditor [message #184177 is a reply to message #184164] |
Fri, 13 December 2013 21:03  |
 |
wferguss
 Messages: 11 Registered: December 2013
Karma:
|
Junior Member |
|
|
In case anyone else runs into this, here's the solution.
FUDforum using BBCode encodes the quoted message using this format:
[quote title=<blah>]
instead of the following format expected by the CKEditor BBCode plugin:
[quote=<blah>]
The BBCode plugin errors on a null value because it wasn't written to handle this kind of input. If you add a check for null value to avoid the error, it treats the quote more or less like an unrecognized tag, with the complication that it can't match up the opening and closing tags.
I fixed it by modifying FUDforum post.tmpl, ppost.tmpl, and post_proc.inc.t files to use "[quote=" instead of "[quote title=".
I also modified CKEditor BBCode plugin.js to stop adding quotes around the cite text, because they were being displayed and I didn't want that.
|
|
|
Goto Forum:
Current Time: Sat May 17 02:10:07 GMT 2025
Total time taken to generate the page: 0.04205 seconds