Skip to content

common-repository/codemirror-file-editor

Repository files navigation

=== CodeMirror File Editor ===
Contributors: izorg
Tags: codemirror, code editor, editor, file editor, plugin editor, theme editor
Requires at least: 4.2
Tested up to: 4.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Replaces defaults WordPress Theme and Plugin Editors with CodeMirror

== Description ==

Replaces defaults WordPress Theme and Plugin Editors with [CodeMirror](http://codemirror.net/) with syntax highlighting and other features.

== Installation ==
1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Appearance/Plugins → Editor

== Frequently Asked Questions ==

= How to enable fullscreen mode? =

Press F11

= How to seach & replace? =

**Ctrl-F / Cmd-F**
Start searching

**Ctrl-G / Cmd-G**
Find next

**Shift-Ctrl-G / Shift-Cmd-G**
Find previous

**Shift-Ctrl-F / Cmd-Option-F**
Replace

**Shift-Ctrl-R / Shift-Cmd-Option-F**
Replace all

**Alt-F**
Persistent search (dialog doesn't autoclose, enter to find next, Shift-Enter to find previous)

**Alt-G**
Jump to line

== Screenshots ==

1. Theme Editor
2. Plugin Editor

== Changelog ==

= 1.2.3 =
* WordPress 4.7 compatibility
* CodeMirror 5.22

= 1.2.3 =
* WordPress 4.6 compatibility
* CodeMirror 5.19
* RequireJS 2.3.2

= 1.2.2 =
* CodeMirror 5.16

= 1.2.1 =
* CodeMirror 5.9

= 1.2.0 =
* CodeMirror 5.8
* Search/replace [plugins](http://codemirror.net/demo/search.html) added

= 1.1.2 =
* WordPress 4.3 compatibility
* CodeMirror 5.6
* RequireJS 2.1.20

= 1.1.1 =
* CodeMirror 5.4
* RequireJS 2.1.18

= 1.1.0 =
* Standard autocomplete HTML, JavaScript & CSS

= 1.0.0 =
* Initial release