Custom font issues in admin-container CSS/HTML editor

Found a monospace flavor of Roboto!

.ace_editor{ font-family:'Roboto Mono', monospace!important; }

I have discovered that !important is required to force the editor to use the font, otherwise it uses one of these fonts:

  1. Monaco
  2. Menlo
  3. Ubuntu Mono
  4. Consolas
  5. Source Code Pro

Thanks for the help everyone. It looks like the editor only plays nice with monospaced fonts. Dur.

5개의 좋아요