Resource icon

CodeMirror editor for Admin CP (XF1) 1.1

No permission to download
Compatible XF 1.x versions
1.5
This upgrades CodeMirror code editor for admin CP HTML/CSS inputs 1.0.1. I've completely overhauled the toolbar extension to include more features and fixed a bug with editing css files. Also, I reduced the full version so you don't have to scroll the page to get to the save buttons.

This product replaces the original editors with CodeMirror editors for Templates, Admin Templates, Template Modifications, Admin Template Modifications, Notices and Custom BB Code.

Toolbar Features:
  • Search and Replace
    • expandable input fields
    • case sensitive/case insensitive
    • regex search
    • replace all
    • marks on scrollbar
  • Tab Size
  • Font Size
  • Mode (html, css, JavaScript, etc)
  • Highlight Matching
  • Undo/Redo
  • Position (line, char)
  • Go To line
  • Gutter Marks
  • Code Block Marking
  • Go To Mark
  • Comment
  • Drag and Drop
  • Auto Indent
  • Auto Close Tags
  • Line Wrapping
  • Range Collapsing
Highlight Matching allows you to quickly search simply by selecting text. Matches will be highlighted gold. Gutter Marks allows you to bookmark lines to easily return by clicking in the Go To Mark hover menu. Code Block Marking allows you to select a block of code and highlight it. You can navigate back using the Go To Marks hover menu. Comment allows you to easily comment and uncomment selected blocks of code. Drag and Drop has full auto-scroll and can be set to off, copy or move. Range Collapsing allows you to click two locations to the right of the line numbers to hide the code in between to bring areas of interest close together.

General Features:
  • Choice of phrases or icons for buttons
  • Tooltips for icons
  • Help button [?] for info on features
  • Mini Search feature for smaller versions of CodeMirror. (Uses Ctrl key for some options)
  • Expandable to full size
  • Set phrases or icons, default font size and default tab size in Options > Admin Control Panel
  • Phrases and templates prefixed with "tce_"
Installation:

Upload the files in ROOT to your forum root directory and install the product XML file in the Admin Control Panel. If upgrading be sure to set to overwrite existing files. You can completely remove the old codemirror-5.9 package.
Author
Nerbert
Downloads
17
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Nerbert

Latest reviews

This works great!. Installed it and it works fine. This is something that should be built into xenforo automatically by default.
Top