Title: Urdu Text Fixer
Author: umairkhurshid
Published: <strong>2026 年 5 月 12 日</strong>
Last modified: 2026 年 5 月 12 日

---

搜索插件

![](https://ps.w.org/urdu-text-fixer/assets/icon-256x256.png?rev=3529976)

# Urdu Text Fixer

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

[下载](https://downloads.wordpress.org/plugin/urdu-text-fixer.1.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/urdu-text-fixer/)

## 描述

Urdu Text Fixer makes writing Urdu, Persian, and Arabic content in WordPress effortless.
It automatically detects Arabic‑script text (Urdu, Persian, Arabic, Pashto, and 
others) in both the Block Editor (Gutenberg) and the Classic Editor (TinyMCE) and
switches the editing area to right‑to‑left (RTL) mode.

**Mixed bidirectional content**:
 English words, Western‑Arabic digits, and punctuation
like `! , "" () -` embedded in Arabic‑script text are automatically wrapped with
Unicode bidirectional isolation markers so they render left‑to‑right inside the 
surrounding RTL context. **No configuration needed**: The plugin works out of the
box. A toggle in the Document Settings panel (Block Editor) or a toolbar button (
Classic Editor) lets you disable auto‑detection if needed.

### Features

 * **Auto‑detection**
    Recognises Arabic‑script characters as you type or paste
 * **Classic Editor support**
    A TinyMCE plugin with a toolbar button and live RTL
   switching
 * **Bidirectional text fixing**
    English words, numbers, and special characters
   are wrapped in Unicode LRI/PDI isolation markers during save and display
 * **Front‑end rendering**
    Arabic‑script posts are wrapped in `<div dir="rtl">`
   so they display correctly on the public site
 * **Comments support**
    Arabic‑script comments also receive RTL treatment
 * **HTML‑safe**
    Processes only text nodes, leaving HTML tags intact
 * **Idempotent**
    Running the fix twice produces the same result; no duplicate 
   markers accumulate

## 屏幕截图

 * [[
 * Without the plugin: Urdu text in the Block Editor with broken alignment.
 * [[
 * With the plugin: same content properly flowing RTL with character rendering correctly
   inside the Urdu context.

## 安装

 1. Upload the `urdu-text-fixer` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Open any post editor and start typing in Urdu, Persian, or Arabic. Auto‑detection
    is enabled by default.

#### Manual Toggle

 * **Classic Editor:** An **RTL** button appears on the editor toolbar.

## 常见问题

### Does the plugin modify my saved post content?

Yes. When a post contains Arabic‑script text, Unicode bidirectional isolation markers(
invisible characters) are added to English words and numbers so they render correctly
inside the RTL context. These markers are invisible and do not affect the visual
appearance of your text.

### Will it affect my existing posts?

Only if you edit and re‑save them. Previously published posts are not altered until
you update them in the editor.

### Does it work with the Classic Editor plugin?

Yes, the Classic Editor (TinyMCE) is fully supported.

### What languages are supported?

The plugin detects the entire Arabic script Unicode range, supporting Urdu, Persian(
Farsi), Arabic, Pashto, Punjabi (Shahmukhi), Sindhi, and any other language written
in Arabic‑script.

### Can I disable the auto‑detection?

Yes. In the Block Editor, flip the toggle in the _Urdu RTL_ document panel. In the
Classic Editor, click the **RTL** toolbar button to switch manually.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Urdu Text Fixer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Urdu Text Fixer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/urdu-text-fixer)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Improved Readme

#### 1.1.0

 * Added RTL support for post titles.
 * Post titles are now processed for bidirectional text fixing on save and display.
 * Urdu post titles automatically switch to RTL direction in both Block and Classic
   editors.

#### 1.0.0

 * Initial release.
 * Auto‑detect Urdu text in Block and Classic editors.
 * Bidirectional text fixing with Unicode LRI/PDI isolation markers.
 * Front‑end RTL wrapper for posts and comments.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/urdu-text-fixer/)
 * 标签
 * [arabic](https://cn.wordpress.org/plugins/tags/arabic/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [persian](https://cn.wordpress.org/plugins/tags/persian/)[rtl](https://cn.wordpress.org/plugins/tags/rtl/)
   [Urdu](https://cn.wordpress.org/plugins/tags/urdu/)
 *  [高级视图](https://cn.wordpress.org/plugins/urdu-text-fixer/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/urdu-text-fixer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/urdu-text-fixer/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/urdu-text-fixer/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://buymeacoffee.com/umairkhurshid)