ケース ce-0039 · シナリオ scenario-paste-formatting-loss

Pasting tables loses structure and formatting

OS: Windows 11 デバイス: Desktop or Laptop Any ブラウザ: Firefox 120.0 キーボード: US 下書き
pastetablestructurefirefox

このページはまだ翻訳されていません

現在、英語の原文を表示しています。翻訳への貢献をお待ちしております。

Phenomenon

When pasting table content (from Excel, Google Sheets, or HTML tables) into a contenteditable region in Firefox, the table structure is lost. The content may be pasted as plain text or lose its formatting.

Reproduction example

  1. Copy a table from Excel or Google Sheets.
  2. Create a contenteditable div.
  3. Paste the table content (Ctrl+V).
  4. Observe the structure of the pasted content.

Observed behavior

  • In Firefox on Windows, table structure is not preserved.
  • Table cells may be converted to plain text or lose their relationships.
  • Formatting (borders, colors, alignment) is lost.

Expected behavior

  • Tables should be pasted with their structure intact (<table>, <tr>, <td> elements).
  • Formatting should be preserved where possible.
  • Or, there should be a way to control how tables are pasted.

このシナリオの変形

ケース OS ブラウザ ステータス
ce-0006 Windows 11 Chrome 120.0 下書き
ce-0024 macOS Ubuntu 22.04 Safari 120.0 下書き
ce-0039 Windows 11 Firefox 120.0 下書き

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Firefox 120.0
Keyboard: US
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.