For some reason, when I install FCKeditor and Typogrify, double quotes do not get converted to curly quotes. I haven't tested everything (like arrows), so I'm not sure if double quotes are the only issue. Seems like most items convert just fine: single quotes, ellipses, en dashes.

I'm not sure why this happening, but I was wondering if there was any interest in the matter.

I've already posted a similar issue in the FCKeditor issue queue, since I'm not sure exactly which module is potentially interfering with the other.

Thanks,
Rene

Comments

Anonymous’s picture

FCKEditor converts regular quotes into the HTML entity " outside of the input filter system. There doesn't appear to be a way to disable this.

mikl’s picture

Status: Active » Closed (won't fix)

Hmm, there is actually a fix for that issue in FCKEditor: http://drupal.fckeditor.net/troubleshooting#11 :)

aangel’s picture

That fix isn't working for me. I have javascript code that includes single quotes and it is maddeningly turning them into ' even with the flag mentioned in that troubleshooting FAQ set to false.

Still searching for a fix...

eusebius’s picture

The fix in #2 worked perfectly for me. Rather than editing the global configuration file, I chose the second fix, which is adding one line to the Advanced - Custom Javascript section of the FCKEditor profile I use on the site. Now, I have beautiful curly quotes.

brightbold’s picture

Title: Double Quotes for FCKeditor » Double Quotes for FCKeditor & CKEditor

CKEditor has the same problem. Slightly different syntax than for FCK (see this entry). I'm using CKEditor with the WYSIWYG module, and it doesn't seem to be reading the config.js file (solution #1) and doesn't have a way to add custom javascript (solution #2). I've temporarily solved the problem by adding CKEDITOR.config.entities=false; to ckeditor.js, but since this is not the Drupal way (and will get overwritten the first time I upgrade CKEditor without remembering I hacked it), I've updated the WYSIWYG issue #803562: Preventing CKEditor from converting HTML entities to get some guidance on how that change can be made in a more sustainable way.

brightbold’s picture

If you're using WYSIWYG module, the fix in #2 won't work, but there's a fix in the issue I referenced in #5 that will. Hope this helps people.