Resolved - Make Editor Text Bigger?

Post Reply
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Which editor do you use?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There are two possibilities.

1) Increase the size of web pages.

See for example:

Font size and zoom - increase the size of web pages

2) Modify the CSS of the editor. The simplest way is to add a font size to the file plugin.php in /bl-plugins/simplemde (line 65). For example:

Code: Select all

// Hack for Bludit
$html .= '<style>
          .editor-toolbar { background: #f1f1f1; border-radius: 0 !important; }
          .editor-toolbar::before { margin-bottom: 2px !important }
          .editor-toolbar::after { margin-top: 2px !important }
          .CodeMirror, .CodeMirror-scroll { min-height: 400px !important; border-radius: 0 !important; }
          .CodeMirror { font-size: 18px }
          </style>';
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Yes, it's a pain... It was just an idea. ;-)
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply