w3c / w3c/editing

Distinguish paste types

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

Nobody has claimed this yet.

contenteditabledisabled
Dominant language
HTML
Stars
202
Forks
43
PR merge metrics
No merged PRs in 30d

Description

In some situations editing apps may allow some types of paste and not other (plain text vs richtext vs images). It is confusing for end users when their browser's user interface allows them to paste richtext, when it ends up being filtered down to plaintext or when their browser allows them to choose an image to paste from an internal library when the receing editing app doesn't allow images at all.

It, therefore, needs to be possible to specify which kinds of paste are disabled.

See also https://github.com/w3c/input-events/issues/117

Contributor guide

Open the contributing guide

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.

Research direction

No implementation files, tests, or entry points are identified in the issue. Start by reading the related W3C input-events issue and clarify how plain text, rich text, and image paste types should be distinguished; done means the specification defines which paste kinds can be disabled and the resulting browser/editor behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.