Member
Member
Sonofwitz   2012-04-23, 22:37
#1

I believe I've found a bug.

I want to use the full featured TinyMCE editor for the Album and Image admin panels.
I've switched the Options>Plugins>tiny_mce>Text Editor Configuration - Zenphoto to zenpage-default-full.js.php as I saw suggested elsewhere in the forums, but when I do that NO wysiwyg editor appears at all and only raw html is displayed (if there is existing content, otherwise it's blank). the only options that work are the two Zenphoto ones. the Zenpage options don't work.

Perhaps it's not meant to have the full editor on the Album and Image panels, but having it be a selectable option leads me to believe this is the intent.

I'm faced with the problem of trying to paste in formatted text. Tiny MCE has the nice Paste from Word feature that works very well for me. I have to develop a workaround if I can't do it on the Album and Image panels.

Thanks for investigating.

Administrator
Administrator
fretzl   2012-04-24, 05:07
#2

You cannot use the tinyMCE [i]zenpage[/i] configurations for albums and images.

You would would have to make your own configuration for albums and images.

Please see:
http://www.zenphoto.org/news/how-to-create-custom-tinymce-configurations

Member
Member
Sonofwitz   2012-04-24, 21:33
#3

Ok, then why are they an option in the dropdown menu if I can't use them?
Thanks for the instructions on the custom config.

Member
Member
sbillard   2012-04-24, 22:24
#4

Because all the files are listed. Naturally Zenphoto does not parse the scripts to see if they do anything that will not work. Instead we rely on our users to read the names of the scripts and act accordingly.

The supplied scripts are lead with the place they were intended to be used.

Member
Member
Sonofwitz   2012-04-24, 23:08
#5

Well ok then.

Administrator
Administrator
acrylian   2012-04-25, 08:35
#6

Btw, the main reason they don't work is that they are too wide (Zenpage items have more space for the editor than the gallery items). So creating a custom config and reordering the buttons a little should probably work (not tested for quite some time).
Generally of course all TinyMCE things can be used for gallery items as well.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.