Title: CodeMirror for Post Editor
Author: Felipe Lavín
Published: <strong>11. marts, 2013</strong>
Last modified: 15. april, 2014

---

Søg plugins

![](https://ps.w.org/codemirror-for-post-editor/assets/banner-772x250.png?rev=694251)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/codemirror-for-post-editor_2c2d29.svg)

# CodeMirror for Post Editor

 Af [Felipe Lavín](https://profiles.wordpress.org/felipelavinz/)

[Download](https://downloads.wordpress.org/plugin/codemirror-for-post-editor.0.4.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/codemirror-for-post-editor/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/codemirror-for-post-editor/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/codemirror-for-post-editor/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/codemirror-for-post-editor/#developers)

 [Support](https://wordpress.org/support/plugin/codemirror-for-post-editor/)

## Beskrivelse

This plugin adds an editor button that will let you use the great [CodeMirror](http://codemirror.net)
editor to edit the HTML code of your posts.

This editor supports code coloring and automatic tag closing on a big editor that
will let you write beautiful code on your WordPress posts.

Probably the best choice if you need to use complex HTML on your posts, or just 
enjoy writing in plain HTML.

## Skærmbilleder

 * [[
 * You can use the CodeMirror editor activating the editor toolbar icon
 * [[
 * The editor opens on a big and wide dialog, so you can focus on your code

## Installation

 1. Upload the plugin
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Done! You can use it

## FAQ

  What browsers can run CodeMirror?

The following desktop browsers are able to run CodeMirror:

 * Firefox 3 or higher
 * Chrome, any version
 * Safari 5.2 or higher
 * Opera 9 or higher (with some key-handling problems on OS X)
 * Internet Explorer 8 or higher in standards mode.
 * Internet Explorer 7 (standards mode) is usable, but buggy.

  How can I contribute with an idea or feature request? Where can I report bugs?

Checkout my [project repository on GitHub](https://github.com/felipelavinz/codemirror-for-post-editor)

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“CodeMirror for Post Editor” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Felipe Lavín ](https://profiles.wordpress.org/felipelavinz/)

[Oversæt “CodeMirror for Post Editor” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/codemirror-for-post-editor)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/codemirror-for-post-editor/),
tjek [SVN repository](https://plugins.svn.wordpress.org/codemirror-for-post-editor/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/codemirror-for-post-editor/)
via [RSS](https://plugins.trac.wordpress.org/log/codemirror-for-post-editor/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.4.1

 * Backwards compatibility fix for WordPress 3.8

#### 0.4

 * Fixed for compatibility with WordPress 3.9
 * Optimized loading of some scripts
 * Changed the toolbar icon for one of WordPress Dashicons
 * Some very minor styling fixes

#### 0.3

 * Updated CodeMirror version to 3.2.0
 * Fixed z-index issues with the new WordPress image library (and… using the new
   library methods instead of the old uploader)

#### 0.2.1

 * Load scripts on all post-types

#### 0.2

 * Fixes uncorrect line breaks inside lists and other elements

#### 0.1

 * First working version, fairly complete

## Meta

 *  Version **0.4.1**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.5 eller højere **
 *  Testet op til **3.9.40**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/codemirror-for-post-editor/)
 * Tags
 * [code](https://da.wordpress.org/plugins/tags/code/)[editor](https://da.wordpress.org/plugins/tags/editor/)
   [html](https://da.wordpress.org/plugins/tags/html/)[post](https://da.wordpress.org/plugins/tags/post/)
   [writing](https://da.wordpress.org/plugins/tags/writing/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/codemirror-for-post-editor/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/codemirror-for-post-editor/reviews/)

## Bidragsydere

 *   [ Felipe Lavín ](https://profiles.wordpress.org/felipelavinz/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/codemirror-for-post-editor/)