Ship the FieldWorks Markdown clipboard form (IClipboardForm) in SIL.TextEditing.Markdown

Open
#168 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
tooling

Research direction

Start by reading ADR 0029 and locating ClipboardForms.FieldWorksMarkdownId, MarkdownConverter, and the playground's clipboard form registrations. Trace how existing IClipboardForm implementations use IWritingSystemMapper and the clipboard backend, then add a round-trip test. Done means the Markdown form is registered, offers “Copy as,” and passes the clipboard round-trip test.

Written by the indexing model from the issue text.

Description

ADR 0029 puts FieldWorks Markdown second in the default paste order (TsString, FieldWorks Markdown, plain text) and offers it under 'Copy as'. Only ClipboardForms.FieldWorksMarkdownId exists today; no form ships, so every host would have to write its own. Add an IClipboardForm to SIL.TextEditing.Markdown over MarkdownConverter (ToMarkdown/Parse, NFD on read, writing systems mapped through IWritingSystemMapper) with OffersCopyAs = true, register it in the playground, and add a round-trip test through the clipboard backend. This is also needed for the planned paste order with Word HTML/RTF (R-3).

Dominant language
C#
Stars
0
Forks
0
Avg merge
1h 43m
Merged PRs (30d)
43

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sillsdev/SIL.TextEditing

All issues in sillsdev/SIL.TextEditing

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.