Hello, everyone!
I found fckeditor not so ago and I really enjoy it!!! I'd like to congratulate everyone from FCKeditor's developers - great work guys
So, I started to use FCKeditor in a CMS system, which I wrote on PHP. It's an admin panel for a web site. With FCKeditor users who log in into my admin panel, then use FCKeditor to edit the content of the different pages in the web site. The changed content is written in a MySQL table, so when a visitor comes to my web site a script gets the content back from MySQL table and shows it like a normal html.
So far, so good
But I've got a problem, that I can not solve... I searched everywhere, but couldn't find anything...
So here's my problem:
in my admin panel, I load FCKeditor in this way between the <form></form> tags:
$oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '../editor/'; $oFCKeditor->Value = 'test'; $oFCKeditor->Width = '100%' ; $oFCKeditor->Height = '450' ; $oFCKeditor->Config['AutoDetectLanguage'] = false ; $oFCKeditor->Config['DefaultLanguage'] = 'en ; $oFCKeditor->Create() ;
The maximum width of my CSS template for the web site, where the content edited with my admin panel is showed is 487 px. The problem is that, when someone log in into the admin panel and edit the content of some page with FCKeditor, the width becoms really bigger than the width of my CSS template of my web site. I mean that the content loads into FCKeditor in my admin panel, but when you write a long text for example, a horizontal scroll bar is showed and the content becomes useless, because is very long and my web site looks very bad and ugly after editing the content from my admin panel....
My question is: is there a way to remove the FCKeditor horizontal scroll bar? Or is there a way to tell FCKeditor when the width of the content in the editor becomes more than 487 px, then FCKeditor automatically to show vertical scroll bar and go to new line - not to show the horizontal scroll bar?
Please help me I really need your help. Thanks a lot in advance!
Best regards.