If you need any help or a chat then IM/PM or email me, Chip

Author Topic: How to increase the editor's default window size  (Read 797 times)

Offline Chip (OP)

  • Server Admin
  • Moderator
  • Hero Member
  • ***
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6333
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Yesterday at 06:33:11 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
How to increase the editor's default window size
« on: June 15, 2019, 03:10:53 AM »
edit ./Themes/default/GenericControls.template.php

change by inserting "style="height: 300px;" so it now appears as:

Code: [Select]
<textarea style="height: 300px;" class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols="600" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="height: ', $editor_context['height'], '; ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea
I also inserted 
Code: [Select]
// Personal Preferences: Modified from the default 175px size of Editor window just prior to the above.

Thanks SirOsis from SM.

Now implemented.
« Last Edit: June 17, 2019, 07:33:44 AM by Chip »
I do not condone or support any illegal activities. All information is for theoretical discussion and wonder.
All activities discussed are considered fictional and hypothetical. Information of all discussion has been derived from online research and in the spirit of personal Freedom.

Tags:
 





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE



Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal