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