Title: TinyMCE Tabfocus Patch
Author: jbeeler
Published: <strong>2010 年 2 月 12 日</strong>
Last modified: 2010 年 2 月 14 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/tinymce-tabfocus-patch.svg)

# TinyMCE Tabfocus Patch

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

[下载](https://downloads.wordpress.org/plugin/tinymce-tabfocus-patch.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「TinyMCE Tabfocus Patch」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「TinyMCE Tabfocus Patch」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tinymce-tabfocus-patch)

### 对开发感兴趣吗?

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

## 更新日志

**Changes in version 1.1**

 * Corrected bug which prevented other TinyMCE plugins from loading

**Changes in version 1.0**

 * Initial Release.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tinymce-tabfocus-patch/)
 * 标签
 * [posts](https://cn.wordpress.org/plugins/tags/posts/)[tab](https://cn.wordpress.org/plugins/tags/tab/)
   [tinyMCE](https://cn.wordpress.org/plugins/tags/tinymce/)
 *  [高级视图](https://cn.wordpress.org/plugins/tinymce-tabfocus-patch/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/tinymce-tabfocus-patch/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tinymce-tabfocus-patch/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/tinymce-tabfocus-patch/)