Skip to content

Google Docs·Notion·Slack·GitHub·webpage clipboard HTML sample corpus 수집 #74

Description

@developer-1px

배경

#19 조사에서 current editor는 text/html paste importer를 지원하지 않는다고 정리했다. Rich HTML paste를 제품 범위로 올리려면 sanitizer 구현보다 먼저 실제 외부 앱 clipboard HTML corpus가 필요하다.

근거

  • docs/editor-paste-html-security-policy-audit.md
  • ProseMirror changelog: pasted HTML parser, Trusted Types, OS clipboard comments, table/wrapper/isolating node fixes 반복
  • Lexical changelog: Google Docs paste, HTML conversion, style import/export, table paste, script ignore, URL sanitize 반복

수집 대상

각 sample은 raw MIME payload와 editor 기대 결과를 같이 남긴다.

  • Google Docs: heading, bold/italic/link, list, table-ish content
  • Notion: paragraph, heading, callout/code/list, link
  • Slack: message, mention-like text, link, emoji, inline code/code block
  • GitHub rendered page: markdown-rendered heading/list/code/link/table
  • Generic webpage/article: paragraph/link/image/style/script wrapper

기록할 것

  • text/html
  • text/plain
  • text/markdown이 있으면 함께
  • text/uri-list가 있으면 함께
  • source app/browser/OS
  • selection shape: partial inline, whole block, multi-block
  • current expected: HTML ignored, plain/markdown fallback only
  • future importer expected: allowed model nodes and dropped attributes

완료 기준

Metadata

Metadata

Assignees

No one assigned

    Labels

    contenteditableBrowser contenteditable behavior and failures조사구현 전 조사클립보드붙여넣기, 복사, 잘라내기, 드롭 동작테스트테스트 하네스, 브라우저 자동화, fixture 한계

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions