ZenphotoCMS Forum
adjusting editor size - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: adjusting editor size (/thread-9841.html)



adjusting editor size - nbruley - 2012-04-10

I'm finding the small rectangle allotted for editing the description field to be challenging to use for my application. What is the easiest way to increase the default size of this? There's an admin stylesheet but I suppose that would be overwritten during upgrades... Is editing that the best way? Thanks.




adjusting editor size - sbillard - 2012-04-11

Make a copy of the file zp-core/zp-extensions/tiny_mce/config/zenphoto-default.js.php as pluins/tiny_mce/config/zenphoto-with_fullpage.js.php

Edit that file so that the line for [i]theme_advanced_buttons2[/i] reads theme_advanced_buttons2 : "undo,redo,|,link,unlink,anchor,image,cleanup,help,code,fullscreen",

Then go to the tiny-mce plugin options and select zenphoto-with_fullpage.php as your "Text editor configuration - Zenphoto" selection.

This will put the full screen button in the button set and allow you to edit full screen.




adjusting editor size - nbruley - 2012-04-11

That works, thank you.

Notes to others,
-obviously it is copied into plugins folder not pluins
-the end of the code got cut off above, ends with fullscreen",




adjusting editor size - acrylian - 2012-04-11

The change is in the nightly builds anyway (the config stuff itself is also documented on tinymce's website).




adjusting editor size - nbruley - 2012-04-11

ah ok, so after upgrading to the next version I should switch back to the old config setting then?




adjusting editor size - acrylian - 2012-04-11

The two files above are standard files and those will have the full screen button. But of course if you need anything else you can always create and use your own config file. That's why we made that option.