Title: Custom JavaScript Editor
Author: Automattic
Published: <strong>24. august, 2012</strong>
Last modified: 14. april, 2016

---

Søg plugins

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/custom-javascript-editor.svg)

# Custom JavaScript Editor

 Af [Automattic](https://profiles.wordpress.org/automattic/)

[Download](https://downloads.wordpress.org/plugin/custom-javascript-editor.1.1.zip)

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

 [Support](https://wordpress.org/support/plugin/custom-javascript-editor/)

## Beskrivelse

Add custom JavaScript to your site from an editor in the WordPress admin.

Your code is stored and revisioned with a custom post type, so you can always go
back to a previous working state.

If you’d like to check out the code and contribute, [join us on GitHub](https://github.com/Automattic/Custom-Javascript-Editor).
Pull requests are more than welcome!

## Skærmbilleder

 * [[
 * The back end editor
 * [[
 * The front end editor
 * [[
 * The front end editor

## Installation

 1. Upload the `custom-javascript-editor` folder to your plugins directory (e.g. `/
    wp-content/plugins/`)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Custom JavaScript Editor” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Josh Betz ](https://profiles.wordpress.org/betzster/)
 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)

[Oversæt “Custom JavaScript Editor” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/custom-javascript-editor)

### Interesseret i udvikling?

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

## Ændringslog

#### 1.1 (Nov. 19, 2012)

 * The editor has a syntax highlighter with configurable themes.
 * jQuery Masonry is available as a library to use
 * Bug fix: Stop stripping arbitrary HTML markup

#### 1.0 (Oct. 8, 2012)

 * Enqueue any bundled JavaScript libraries on the frontend for use. Register your
   own with the ‘cje_available_scripts’ filter. Thanks [flentini](https://github.com/flentini)
   for the original pull request

#### 0.9.1

 * Bug fix: Use html_entity_decode() for decoding stored JavaScript so it properly
   renders

#### 0.9

 * Initial release

## Meta

 *  Version **1.1**
 *  Senest opdateret **10 år siden**
 *  Aktive installationer **400+**
 *  WordPress-version ** 3.4 eller højere **
 *  Testet op til **4.5.33**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/custom-javascript-editor/)
 * Tag
 * [javascript](https://da.wordpress.org/plugins/tags/javascript/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/custom-javascript-editor/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/custom-javascript-editor/reviews/)

## Bidragsydere

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Josh Betz ](https://profiles.wordpress.org/betzster/)
 *   [ Daniel Bachhuber ](https://profiles.wordpress.org/danielbachhuber/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/custom-javascript-editor/)