Urdu editor for moderators: writing tools and document import #28

Closed
opened 2026-10-08 20:45:07 +00:00 by anas · 0 comments
Owner

An editor built into the site for moderators and admins (owner direction, 2026-10-08), used by the content moderation work (#20).

Writing Urdu

  • RTL editing with live preview in the site's own rendering (Naskh/Nastaliq, couplet layout).
  • Urdu keyboard and Roman-to-Urdu typing (as in search), plus a palette for diacritics (zer, zabar, pesh, tashdeed, jazm, hamza) and marks (takhallus ؔ, ۔ ، ؟).
  • Structure for poetry: couplets (two misras), single lines, stanzas, paragraphs for prose; radif/matla/maqta shown as you type.
  • Formatting kept to what Divan renders: headings, paragraphs, emphasis, line breaks.
  • Clean-up helpers: Arabic letters to Urdu (ي ك ه → ی ک ہ), stray spaces and zero-width marks, digits to Urdu digits; a diff of what changed.

Bringing in existing text

  • Paste from Word/LibreOffice/web pages with formatting cleaned to Divan's structure.
  • Upload .docx, .odt and .txt files (Unicode Urdu, or any Unicode text): text and basic formatting imported, line breaks mapped to couplets/paragraphs, reviewed in the editor before saving as a draft.

Drafts go through the approval pipeline (#31). Document import is split into #33.

An editor built into the site for moderators and admins (owner direction, 2026-10-08), used by the content moderation work (#20). **Writing Urdu** - RTL editing with live preview in the site's own rendering (Naskh/Nastaliq, couplet layout). - Urdu keyboard and Roman-to-Urdu typing (as in search), plus a palette for diacritics (zer, zabar, pesh, tashdeed, jazm, hamza) and marks (takhallus ؔ, ۔ ، ؟). - Structure for poetry: couplets (two misras), single lines, stanzas, paragraphs for prose; radif/matla/maqta shown as you type. - Formatting kept to what Divan renders: headings, paragraphs, emphasis, line breaks. - Clean-up helpers: Arabic letters to Urdu (ي ك ه → ی ک ہ), stray spaces and zero-width marks, digits to Urdu digits; a diff of what changed. **Bringing in existing text** - Paste from Word/LibreOffice/web pages with formatting cleaned to Divan's structure. - Upload .docx, .odt and .txt files (Unicode Urdu, or any Unicode text): text and basic formatting imported, line breaks mapped to couplets/paragraphs, reviewed in the editor before saving as a draft. Drafts go through the approval pipeline (#31). Document import is split into #33.
anas added this to the Phase 5: Community milestone 2026-10-08 20:45:07 +00:00
anas modified the milestone from Phase 5: Community to Phase 4: Content moderation (Divan's own copy) 2026-10-08 20:49:43 +00:00
anas closed this issue 2026-10-08 23:13:21 +00:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#28
No description provided.