Forums | Mahara Community
Support
/
WYSIWYG editor
13 June 2013, 0:35
Does anyone know what file I need to edit to enlarge the wysiwyg editor area . It'sa bit small for large amounts of text.
Thanks
Paul
13 June 2013, 8:30
You may want to select the full screen button, far right of the top line in the editor.
PascaleHP
13 June 2013, 20:39
Thank you, that is useful. But not my ideal solution. I still would like to know where the code for this javascript editor is so that I can adapt the view.
Thanks
Paul
14 June 2013, 9:49
Hello Paul,
You can find the TinyMCE files in /htdocs/js/tinymce
Cheers
Kristina
17 June 2013, 11:54
I think most of the configuration of the tinymce editor happens in the "smarty()" function in web.php.
In particular, look around line 148 where it sets $tinymce_config . TinyMCE has width and height configuration options. I think (though I haven't tested this) if you set those in the $tinymce_config variable, it should force the size of all TinyMCE fields in the site.
There is also some TinyMCE-related code in the Pieforms elements that we use to place them into forms. That's in lib/form/elements/wysiwyg.php and lib/form/elements/tinywysiwyg.php
Cheers,
Aaron