![]() |
Add Codemirror to AdminCP for Syntax Highlighting
I have been spoiled using text editors with syntax highlighting and always wanted to add it to the admincp template editor. If you want to have it too, here you go. Download CodeMirror and place the extracted folder in your forum root "/forum/codemirror"
Then in the admincp/template.php file I added the following lines Code:
<script src="../codemirror/lib/codemirror.js"></script> Code:
<link rel="stylesheet" href="styles/default.css"> Code:
<script> Here is a screenshot of what it looks like: http://coursesaver.com/codemirror/editer.png |
All times are GMT. The time now is 03:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|