Forums | Mahara Community

Support /
WYSIWYG editor


anonymous profile picture
Deleted user
Posts: 18

13 June 2013, 12:35 AM

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

anonymous profile picture
Deleted user
Posts: 8

13 June 2013, 8:30 AM

You may want to select the full screen button, far right of the top line in the editor.

PascaleHP

anonymous profile picture
Deleted user
Posts: 18

13 June 2013, 8:39 PM

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

Kristina Hoeppner's profile picture
Posts: 3632

14 June 2013, 9:49 AM

Hello Paul,

You can find the TinyMCE files in /htdocs/js/tinymce

Cheers

Kristina

 

Aaron Wells's profile picture
Posts: 896

17 June 2013, 11:54 AM

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

5 results