Customizing FCK Editor
  retweet   

Here is a good article about customzing FCK Editor.

http://www.patrickrenner.com/Home/articleType/ArticleView/articleId/53/Optimizing-the-FCKEditor-for-DNN.aspx

I have always had trouble with user created content using FCK Editor. Most of the time the content is pasted into the editor with all sorts of formatting styles ( mac, word, etc) and different font sizes. And not only they look inconstant in terms of the style, but also generate a lot of extra code on the page which could be a nightmare for SEO.

This can be fixed with a simple approach:

[root]\Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js

 Locate the line:

FCKConfig.ForcePasteAsPlainText

and set it to "true" (default is "false").

This way any formatted content pasted into the editor will be turned into plain text. And the user and do some style formatting within the editor.

 




Comments

No comments so far. Be the first to post one.


Leave a comment

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above: