rulu ruru

post Disabling HTML entities in FCKEditor

December 25th, 2007

Filed under: javascript — starenka @ 13:56
Tags: , , , ,

What drives me crazy about FCKEditor is the fact, that by default it transforms characters to entities. For example š is in the source code represented as š .This sucks most when you are editing the source of the post previously written in WYSIWYG mode. It’s really hard to navigate thru such hordes of &s and it makes you pull your hair (if any).

Here’s a simple fix, tho. Locate your config file fckconfig.js in your FCK directory (if you’re using Wordpress with Dean’s FCKEditor For Wordpress it should be something like /wp-content/plugins/fckeditor_for_wordpress/fckeditor/fckconfig.js) and change these lines to:

FCKConfig.ProcessHTMLEntities = false ;
FCKConfig.IncludeLatinEntities = false ;
FCKConfig.IncludeGreekEntities = false ;

Popularity: 45% [?]

2 Comments

  1. Thanks for the tip. It worked for me in a drupal installation.
    By the way your blog is great but I think you should consider making it bilingual.
    It’s not nice searching through posts to find the english ones.

    Comment by Vangelis — March 13, 2010 @ 03:33

  2. Hi Vangelis. I’m glad it helped.
    Ad bilingual site: well, English is a foreign language for me and therefore it takes much more time to write posts in it. I barely have time to write something in Czech ;) Furthermore 99% of visitors are czech. I guess Google Translate would help, but it fails on slang and informal speech (i use it). I promise i will think abut this issue, but i can’t promise a change.

    Cya around starenka

    Comment by starenka — March 13, 2010 @ 09:38

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

ruldrurd
© starenka 2oo7, cute alien monster by noizcut, original theme by Laurentiu Piron - customized by starenka | proudly powered by WordPress