TinyMCE and image/filebrowser?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

TinyMCE and image/filebrowser?

Post by Hare »

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?
Last edited by Hare on Thu Feb 15, 2007 10:51 am, edited 1 time in total.
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: TinyMCE and image/filebrowser?

Post by chead »

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.
alby

Re: TinyMCE and image/filebrowser?

Post by alby »

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.
For info, there are 2 browser integration:
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.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

Hare wrote:
I think it's extremely clumsy that there's no way I can browse the images with a thumbnail-view?
I added that in TinyMCE SVN.  :) ;) :D ;D :o

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. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

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
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. :)
cyberman

Re: TinyMCE and image/filebrowser?

Post by cyberman »

TinyMCE 2.10 is out (Core, not module) ...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

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
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. :)
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: TinyMCE and image/filebrowser?

Post by Hare »

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!
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: TinyMCE and image/filebrowser?

Post by chead »

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?
Last edited by chead on Sat Feb 17, 2007 5:39 pm, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

Glad ya'll like it.  :D
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.
Added in latest SVN. Thanks!


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. :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: TinyMCE and image/filebrowser?

Post by Greg »

plaintext causes a javascript error

'tinyMCE.restoreClass is not a function'

and

'tinyMCE.restoreAndSwitchClass is not a function'
Greg
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

Greg wrote: plaintext causes a javascript error

'tinyMCE.restoreClass is not a function'

and

'tinyMCE.restoreAndSwitchClass is not a function'
Bug filed: http://dev.cmsmadesimple.org/tracker/in ... 2&atid=125

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. :)
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: TinyMCE and image/filebrowser?

Post by chead »

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.)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: TinyMCE and image/filebrowser?

Post by Elijah Lofgren »

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.)
IT works here too. ;)
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. :)
Jonny
Forum Members
Forum Members
Posts: 77
Joined: Sun Sep 24, 2006 10:49 am

Re: TinyMCE and image/filebrowser?

Post by Jonny »

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.
Post Reply

Return to “CMSMS Core”