TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 296
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 277
  • Total: 277

HTML generated by FCKEditor

Started by warhonowicz, February 19, 2007, 08:17:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

warhonowicz

I've just upgraded to SMF 1.1.2 and TP 0.9.7.1 and it all works fine. I have so far also kept the standard editor, which is FCK. However, I have found one little issue with it and was wondering if it is due to the editor working this way or me being stupid.

When I write a new article, FCK seems to translate the RETURN key into a <'br> command rather than a <'p> command. Therefore, any formatting is applied to the whole of the article.

Am I doing something wrong or should I simply use the other editor?

IchBin

Its all in the style of the editor. Nothing that TP has anything to do with.

warhonowicz


akulion

if u are comfortable working with HTML
u can change the editor choice in Settings area of TP

bloc

I think that setting is somewhere in FCKEditor's files...I have to dig to find it.

bloc

It wasn't so hard after all :). Find:

../FCKEditor/fckconfig.js

and look for:
FCKConfig.UseBROnCarriageReturn = true ; // IE only.

Set it to false I reckon.

warhonowicz

Quote from: Bloc on February 20, 2007, 09:58:35 AM
Find:

../FCKEditor/fckconfig.js

and look for:
FCKConfig.UseBROnCarriageReturn = true ; // IE only.

Set it to false I reckon.

Tried that but it seemed to kill the whole editor, neither IE6 nor in FireFox2 would show the editor afterwards at all.

Might just work with HTML ...

bloc

Strange..well I am not developing FCK editor lol :), so I guess thats a bug for its developers to correct.

warhonowicz

Which version of FCKeditor are you using?

I've had a look on the FCKeditor webpage and the latest version 2.4 has a new ENTER KEY HANDLER but looking through the config file on my webpage, it looks like I have an older version.

This website is proudly hosted on Crocweb Cloud Website Hosting.