TinyMCE and image/filebrowser?
TinyMCE and image/filebrowser?
Hi
I'm using TinyMCE as my WYSIWYG-edior but it's using fckeditor as the filebrowser. Is this normal? I've actually unistalled fckeditor completely!
If I click the "add image" button in TinyMCE I get the popup window with image paths/sizes etc. If I look for an image via clicking the "browse" button I get FCKeditor's filebrowser (localization doesn't work in that case, which is a shame).
1.04 CMSMS, latest TinyMCE from the repositories.
I think it's extremely clumsy that there's no way I can browse the images with a thumbnail-view?
I'm using TinyMCE as my WYSIWYG-edior but it's using fckeditor as the filebrowser. Is this normal? I've actually unistalled fckeditor completely!
If I click the "add image" button in TinyMCE I get the popup window with image paths/sizes etc. If I look for an image via clicking the "browse" button I get FCKeditor's filebrowser (localization doesn't work in that case, which is a shame).
1.04 CMSMS, latest TinyMCE from the repositories.
I think it's extremely clumsy that there's no way I can browse the images with a thumbnail-view?
Last edited by Hare on Thu Feb 15, 2007 10:51 am, edited 1 time in total.
Re: TinyMCE and image/filebrowser?
According to the readme in the TinyMCE module, it looks like the file/image browser was ported from FCKEditor because TinyMCE doesn't have an open-source browser.
The developers of TinyMCE have a file manager (MCFileManager), but it isn't open source/free, and looks like it also needs their image manager (MCImageManager) to do everything the demo shows.
Someone could probably update it to read thumbnails created by the CMSMS Image Manager module.
The developers of TinyMCE have a file manager (MCFileManager), but it isn't open source/free, and looks like it also needs their image manager (MCImageManager) to do everything the demo shows.
Someone could probably update it to read thumbnails created by the CMSMS Image Manager module.
-
alby
Re: TinyMCE and image/filebrowser?
For info, there are 2 browser integration:chead wrote: According to the readme in the TinyMCE module, it looks like the file/image browser was ported from FCKEditor because TinyMCE doesn't have an open-source browser.
The developers of TinyMCE have a file manager (MCFileManager), but it isn't open source/free, and looks like it also needs their image manager (MCImageManager) to do everything the demo shows.
Someone could probably update it to read thumbnails created by the CMSMS Image Manager module.
http://p4a.crealabsfoundation.org/tinyfck
http://p4a.crealabsfoundation.org/tinymcpuk
Alby
Last edited by alby on Fri Feb 16, 2007 8:00 pm, edited 1 time in total.
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
I added that in TinyMCE SVN.Hare wrote:
I think it's extremely clumsy that there's no way I can browse the images with a thumbnail-view?
Let me test again, and I'll try to make a new TinyMCE release with it.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
I'll hold off on releasing a new TinyMCE until I get the go ahead from the latest commiter.
In the meantime, you might like DojoEditor: http://dev.cmsmadesimple.org/forum/foru ... =1003 
Later,
Elijah
In the meantime, you might like DojoEditor: http://dev.cmsmadesimple.org/forum/foru ... =1003
Later,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
TinyMCE 2.0.5 has been released: http://dev.cmsmadesimple.org/frs/showno ... ase_id=761
Download here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=761
Includes new TinyMCE 2.1.0 and thumbnail previews in image browser.
Enjoy,
Elijah
Download here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=761
Includes new TinyMCE 2.1.0 and thumbnail previews in image browser.
Enjoy,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: TinyMCE and image/filebrowser?
This just made my day. A huge thank you.
Another great thing with this new release is that compression now works fine with FF! No more problems with button hovers and the editor loads a lot faster thanks to compression.
Thumbnails increased the usability to a totally new level. I had to set my file creation mask to 002 (instead of the default 022) to get the thumbnails working but now everything is running smoothly.
CMSMS is starting to look perfect. If only the filemanager would support changing filenames, but I guess that topic is better to be left to other threads. I definately think that TinyMCE should be made the default editor instead of FCKeditor.
Once again. Thanks!
Another great thing with this new release is that compression now works fine with FF! No more problems with button hovers and the editor loads a lot faster thanks to compression.
Thumbnails increased the usability to a totally new level. I had to set my file creation mask to 002 (instead of the default 022) to get the thumbnails working but now everything is running smoothly.
CMSMS is starting to look perfect. If only the filemanager would support changing filenames, but I guess that topic is better to be left to other threads. I definately think that TinyMCE should be made the default editor instead of FCKeditor.
Once again. Thanks!
Re: TinyMCE and image/filebrowser?
Exciting! Elijah, you are a whiz!
UPDATE: My issue below fixed. Turns out that it was my use of @ob_start('gzhandler'); in the admin/header.php, a tip for speeding page loads from another thread. Strange, though, as 2.0.3 worked with gzhandler. Restoring to @ob_start(); solved the issue.
Can I ask to have the "pasteplaintext" plugin added to the install? That's the one big feature missing that FCKEditor has, and it's how I keep clients from pasting in nasty OXML tags from their Microsoft Office files. I've posted it to the development forge here. For others, you can just download the plugin there and copy the "plaintext" folder to modules\TinyMCE\tinymce\jscripts\tiny_mce\plugins.
TinyMCE 2.0.5 isn't working for me on 1.0.4. It installs fine, but the textarea isn't activated as a WYSIWYG, even in the TinyMCE configuration panel with the test area at the bottom. I tried an update over 2.0.4, a clean install and manual upload of the files, but still no joy. Anything I can provide to help track down the issue?
UPDATE: My issue below fixed. Turns out that it was my use of @ob_start('gzhandler'); in the admin/header.php, a tip for speeding page loads from another thread. Strange, though, as 2.0.3 worked with gzhandler. Restoring to @ob_start(); solved the issue.
Can I ask to have the "pasteplaintext" plugin added to the install? That's the one big feature missing that FCKEditor has, and it's how I keep clients from pasting in nasty OXML tags from their Microsoft Office files. I've posted it to the development forge here. For others, you can just download the plugin there and copy the "plaintext" folder to modules\TinyMCE\tinymce\jscripts\tiny_mce\plugins.
TinyMCE 2.0.5 isn't working for me on 1.0.4. It installs fine, but the textarea isn't activated as a WYSIWYG, even in the TinyMCE configuration panel with the test area at the bottom. I tried an update over 2.0.4, a clean install and manual upload of the files, but still no joy. Anything I can provide to help track down the issue?
Last edited by chead on Sat Feb 17, 2007 5:39 pm, edited 1 time in total.
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
Glad ya'll like it. 
Later,
Elijah
Added in latest SVN. Thanks!chead wrote: Can I ask to have the "pasteplaintext" plugin added to the install? That's the one big feature missing that FCKEditor has, and it's how I keep clients from pasting in nasty OXML tags from their Microsoft Office files. I've posted it to the development forge here. For others, you can just download the plugin there and copy the "plaintext" folder to modules\TinyMCE\tinymce\jscripts\tiny_mce\plugins.
Later,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: TinyMCE and image/filebrowser?
plaintext causes a javascript error
'tinyMCE.restoreClass is not a function'
and
'tinyMCE.restoreAndSwitchClass is not a function'
'tinyMCE.restoreClass is not a function'
and
'tinyMCE.restoreAndSwitchClass is not a function'
Greg
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
Bug filed: http://dev.cmsmadesimple.org/tracker/in ... 2&atid=125Greg wrote: plaintext causes a javascript error
'tinyMCE.restoreClass is not a function'
and
'tinyMCE.restoreAndSwitchClass is not a function'
Thanks.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: TinyMCE and image/filebrowser?
Weird; it works for me. I did a clean install of Elijah's TinyMCE 2.0.5 and just put the plaintext folder from the zip I linked in the TinyMCE plugins directory and no issues. (I didn't try the SVN, though.)
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: TinyMCE and image/filebrowser?
IT works here too.chead wrote: Weird; it works for me. I did a clean install of Elijah's TinyMCE 2.0.5 and just put the plaintext folder from the zip I linked in the TinyMCE plugins directory and no issues. (I didn't try the SVN, though.)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: TinyMCE and image/filebrowser?
Thanks for updating TinyMCE for us. A great improvement. For many end-users the WYSIWYG editor is just about the most important element of the CMS.
Great to have thumbnails in the image manager. The only small niggle is that the filesize reported is that of the thumbnail rather than the actual image.
Great to have thumbnails in the image manager. The only small niggle is that the filesize reported is that of the thumbnail rather than the actual image.
