Fernando Posted June 24, 2020 Posted June 24, 2020 Hello everyone, I would like to know. Is there a way to made the size of the box / field on the custom code page bigger? Preferences > Custom Code Or what is a 'best practise' ? copy it into a text editor, change it, paste it back? Thanks a lot
Traumflug Posted June 24, 2020 Posted June 24, 2020 In controllers/admin/AdminCustomCodeController.php, find the array definition starting with: Configuration::CUSTOMCODE_METAS => [ (probably line 29) To this array definition, add 'maxLines' => 100, This lets this field grow to up to 100 lines. Additional keywords: 'fontSize', 'minLines', 'showPrintMargin', 'enableBasicAutocompletion', 'enableSnippets' and 'enableLiveAutocompletion'. Same applies to the other fields defined in this controller ( = on this page) and to code input fields elsewhere. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now