Title: ACE Editor for WP
Author: daxitude
Published: <strong>2012 年 10 月 7 日</strong>
Last modified: 2012 年 12 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/ace-editor-for-wp.svg)

# ACE Editor for WP

 作者：[daxitude](https://profiles.wordpress.org/daxitude/)

[下载](https://downloads.wordpress.org/plugin/ace-editor-for-wp.0.7.1.zip)

 * [详情](https://cn.wordpress.org/plugins/ace-editor-for-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/ace-editor-for-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ace-editor-for-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ace-editor-for-wp/#developers)

 [支持](https://wordpress.org/support/plugin/ace-editor-for-wp/)

## 描述

This plugin adds an advanced code editor to the post content box on post.php and
post-new.php. A third tab is added alongside Visual and HTML modes and you can toggle
between the three.

NOTE: Visual Mode tends to eat up most/all of any special formatting. If you want
to use ACE I’d suggest disabling Visual mode completely. You can do this easily 
yourself under Users -> Your Profile -> ‘Disable the visual editor when writing’.
You can also do it for all users and for specific post types only. See the accompanying
file no-visual.php for an example.

Not all features work in Internet Explorer v8 and earlier.

This does not work in full screen mode. Yet.

#### Features

 * Syntax highlighting
 * Tabbing
 * Line numbers
 * Auto closing of tags and quotes
 * Line highlighting
 * Default theme is TextMate
 * Fixed-width, soft wrap, adjustable height
 * Remembers your last used mode and loads it up on initial page view

[ACE Editor](http://ace.ajax.org/) can do quite a bit more. If you have integration
ideas, let me hear about it

### Todo

 * make height of editor consistent when toggling between modes
 * deal with auto_p? (might help preserve formatting from Visual mode)
 * make it work in full screen mode
 * allow users to set their ACE preferences on their profile screen

## 屏幕截图

[⌊Editing a Page⌉⌊Editing a Page⌉[

Editing a Page

## 安装

See [Installing Plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

 1. Download the zip from here or from [Github](http://github.com/daxitude/ace-4-wp)
    and drop it into your site’s wp-content/plugins directory.
 2. Navigate to your site’s Admin->Plugins section (wp-admin/plugins.php) and activate
    the plugin.
 3. Go edit a post/page/custom-post-type, or add a new one, and look for the ACE tab
    next to the Visual and HTML Mode tabs at the top right of the content editor box.
    If you don’t see the Visual tab, that’s great! It means you or someone else disabled
    Visual Mode. That’ll make toggling between modes a much more pleasant experience(
    see more in release notes).

## 评价

此插件暂无评价。

## 贡献者及开发者

「ACE Editor for WP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ daxitude ](https://profiles.wordpress.org/daxitude/)

[帮助将「ACE Editor for WP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ace-editor-for-wp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ace-editor-for-wp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ace-editor-for-wp/)，或通过[RSS](https://plugins.trac.wordpress.org/log/ace-editor-for-wp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ace-editor-for-wp/)。

## 更新日志

#### 0.7

 * bugfix – make sure ACE loads on post-new.php
 * bugfix – adjust z-index on ACE Editor so wp nav menus stay on top
 * bugfix – make ACE resizable only in south direction

#### 0.6

 * bugfix – in JS, check to make sure tinymce is available

#### 0.5

 * initial release

## 额外信息

 *  版本 **0.7.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ace-editor-for-wp/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[code](https://cn.wordpress.org/plugins/tags/code/)
   [editor](https://cn.wordpress.org/plugins/tags/editor/)[syntax](https://cn.wordpress.org/plugins/tags/syntax/)
 *  [高级视图](https://cn.wordpress.org/plugins/ace-editor-for-wp/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/ace-editor-for-wp/reviews/)

## 贡献者

 *   [ daxitude ](https://profiles.wordpress.org/daxitude/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ace-editor-for-wp/)