Skip to content

Commit 46ca40b

Browse files
authored
Merge pull request #528 from ExpressionEngine/feature/7.x/codemirror-font-size
Added system config override for font size in EE code editors; ExpressionEngine/ExpressionEngine#921
2 parents 45bde5a + 5e83669 commit 46ca40b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/general/system-configuration-overrides.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,18 @@ Example Usage:
710710

711711
$config['codemirror_height'] = '18em';
712712

713+
### `codemirror_fontsize`
714+
715+
Set the font-size of any CodeMirror textareas in the control panel, such as the Template Editor. Default is `1rem`.
716+
717+
| Value | Description |
718+
| ------------------- | ------------------------------- |
719+
| codemirror_fontsize | Font-size to use, in CSS units. |
720+
721+
Example Usage:
722+
723+
$config['codemirror_fontsize'] = '0.9rem';
724+
713725
### `comment_edit_time_limit`
714726

715727
Set the length of time in seconds that members have to edit their comments on the front end of the site. Set to `0` for no limit. Members in the Super Admin group are exempt from this time limit.

0 commit comments

Comments
 (0)