I agree TinyMCE is my favourite of the lot, its the quickest to load and easy to configure like Xinha, however I cannot warrant paying $50 per site for the image upload plugin, when I can get the same functionality in Xinha for free.
Don’t get me wrong, I appreciate that a lot of time & effort has gone into TinyMCE, and also think its worth the $50, but at present I am not selling my projects, so the free option seems best.
Okay I am gonna have to politely disagree here. I started with TinyMCE and it would not allow me to easily add tags to its list and it was very quirky as far as the html it produced. It is fast to load however. configuring it is problematic and documentation is so so on what the options do.
FCK so far seems much superior in its implementation but yes is slower to load. the file uploading and browsing blows away tinymce (which doesn’t have this). FCK is pretty easy to configure and you have two ways to do it (javacript file or php class from within CI).
here is how i do it in my controller in case anyone is interested. you just put the Fckeditor.php file that comes with FCK in your library folder.
well, I am now using XINHA. I went from TinyMCE to FCK to XINHA and they all have their ups and downs but XINHA has the best image uploader hands down (imagemanager plugin). The Xinha documentation is by far the worst (but you can search the forums), however, in order of speed it would be Tiny, Xinha, FCK. they are all pretty easy to customize once you figure out how they work.
ugh - I wish my clients could just type html into a textarea. IS IT THAT HARD?! (especially if style sheets are all setup).
well, you can also have a look at SPAW editor. their soon to be released new version will allow multiple document editing via tabs(as in browsers) in a single editor instance, so there won’t be a need for multiple instances of the editor on a page!
I’m having exactly the same problem with FCKEditor on my server as pickledegg2 described at the start of this thread. I’m able to load FCKeditor (more or less) but the editor just won’t display and Firebug says:
uncaught exception: Permission denied to set property Window.FCK_STATUS_NOTLOADED
[Break on this error] undefined
FCKBrowserInfo has no properties
[Break on this error] if ( FCKBrowserInfo.IsGecko )
fckeditor.html (line 186)
FCKLang is not defined
[Break on this error] window.document.dir = FCKLang.Dir ;
fckeditor.html (line 116)
uncaught exception: Permission denied to get property Window.FCKeditorAPI
[Break on this error] undefined
FCK has no properties
[Break on this error] FCK.ContextMenu={};FCK.ContextMenu.Listeners=[];FCK.ContextMenu.RegisterListener…
fckeditorcode_gec… (line 94)
FCKConfig has no properties
[Break on this error] var FCKConfig=FCK.Config={};if (document.location.protocol==‘file:’){FCKConfig.B…
fckeditorcode_gec… (line 31)
FCKBrowserInfo has no properties
[Break on this error] if ( FCKBrowserInfo.IsIE )
fckeditor.html (line 62)
FCKConfig has no properties
[Break on this error] FCKConfig.DisableEnterKeyHandler = false ;
On my development PC however FCK runs fine without errors and with exactly the same code. I guess this isn’t my week. Couldn’t get CodeCrafter to work and now this. The wiki on FCK didn’t help, tried that one twice without any luck.
Joris make sure your BasePath is set properly. That will certainly cause Fckeditor to fail.
My live and dev machines are setup differently, but the same configuration work on both without fail. On dev I just put everything in the web root, but on live I have the CI /system/ up a directory for security, on both however, I have a directory for libraries such as the Fckeditor, so under the web root I have:
/libraries/fckeditor/
And appropriately in the fckeditor_4/5.php’s I set the default BasePath there to the above. Works perfect, regardless of where I instantiate the editor from. Also have the Smarty helper function loading Fckeditor, very handy.
Throwing this out there, but in the past I’ve noticed that the file browser/uploader for the Fckeditor is globally accessible, ie. if anyone notices you are running Fckeditor and know how it works, they can browse directly to the file browser/uploader and start filling your box. To counter that on Linux I added an .htaccess file with a Basic Auth to keep unwanted visitors out.
(and I like to thank coolfactor and 3rdRRAdmin for pointing me in the right direction)
The BasePath was the problem. In fact there or various possibilities to set the BasePath correct but they largely depend how you organize your file structure.
On my development PC I have a wwwroot with several websites in it, each in its own subdirectory, while on the remote server had a different structure. Using base_url() was the solution and works for both environments providing the $config[‘base_url’] in /system/application/config/config.php was set correctly for each environment (local and remote).
Hi guys,
I’m using spaw editor, it’s really great editor. But I have a problem: I don’t know how to fetch data from database to textarea generated by spaw(for example, when edit the contents of an acticle).
please help me, thanks!