Text selection menu (Ganjoor-style) #23

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

When readers select text in a poem or prose page, a small menu appears by the selection, as on Ganjoor (vaabd.js at tag dotnet-final).

Options: معنی (word sidebar, one word), تلاش (search Divan; phrase in quotes), کاپی (copy with attribution: poet, title, link), شیئر (link to the poem with the selection highlighted), گوگل; لفظ محفوظ کریں (word collection) once accounts exist. Ganjoor's بحر (metre) is Persian-only and abjad was dropped earlier.

Acceptance: menu appears for selections in the reading text only, positioned by the selection, works with mouse, keyboard and touch, RTL, closes on Escape/click away; no layout shift.

When readers select text in a poem or prose page, a small menu appears by the selection, as on Ganjoor (vaabd.js at tag dotnet-final). Options: معنی (word sidebar, one word), تلاش (search Divan; phrase in quotes), کاپی (copy with attribution: poet, title, link), شیئر (link to the poem with the selection highlighted), گوگل; لفظ محفوظ کریں (word collection) once accounts exist. Ganjoor's بحر (metre) is Persian-only and abjad was dropped earlier. Acceptance: menu appears for selections in the reading text only, positioned by the selection, works with mouse, keyboard and touch, RTL, closes on Escape/click away; no layout shift.
anas added this to the Phase 5: Community milestone 2026-10-08 20:33:55 +00:00
anas modified the milestone from Phase 5: Community to Phase 2: Reading experience 2026-10-08 20:49:42 +00:00
anas closed this issue 2026-10-08 20:57:39 +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#23
No description provided.