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

TinyMCE Tabfocus Patch

描述

The TinyMCE Tabfocus Patch is a WordPress plugin which disables TinyMCE plugin Tabfocus thereby allowing tab characters to be typed into posts.

While attempting to write several posts including blocks of code I realized that TinyMCE was stripping out all the tab characters I attempted to type. Although I could type tab characters in HTML mode, switching between HTML and Visual removed the tab characters, infuriating me. I use CodeColorer for code coloring, and as the plugin also converts tabs to non-blocking spaces automatically I don’t want tab characters that I paste in to get stripped.

After searching for the cause of this issue I realized that the cause was the tabfocus TinyMCE plugin. Rather than going into post.php and manually removing the TinyMCE plugin from the list of plugins to be automatically loaded, I wrote this WordPress to handle it for me.

This plugin should work with TinyMCE, TinyMCE Advanced, and most other TinyMCE mods out there.

Special thanks to Mike Walker’s TinyMCE Entities Patch which provided the basis for understanding how to hook the necessary section of code to solve the problem.

安裝

Installation Instructions:

  1. Download the zip file for the plugin
  2. Upload the zip file’s contents into your WordPress installation’s plugin directory.
  3. From the Plugin Management page, activate the TinyMCE Tabfocus Patch plugin.

常見問題

What functionality is gained from this plugin?

You can now type tab characters in TinyMCE and not have them stripped out when you post/switch from Visual to HTML mode.

What functionality is lost from this plugin?

You can no longer tab in/out of the TinyMCE editor.

評價

There are no reviews for this plugin.

貢獻者及開發者

“TinyMCE Tabfocus Patch” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 TinyMCE Tabfocus Patch 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Changes in version 1.1

  • Corrected bug which prevented other TinyMCE plugins from loading

Changes in version 1.0

  • Initial Release.