這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

CodeMirror for Post Editor

外掛說明

This plugin adds an editor button that will let you use the great CodeMirror 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.

螢幕擷圖

  • 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

安裝方式

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

常見問題集

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈CodeMirror for Post Editor〉的開發相關工作。

參與者

將〈CodeMirror for Post Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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