mdx-editor / mdx-editor/editor

Pasting a table from google docs / excel

Open
#310 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request/enhancement
Dominant language
TypeScript
Stars
3.7k
Forks
307
Avg merge
14h 22m
Merged PRs (30d)
5

Description

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • I have read the documentation and cannot find an answer.

Describe the bug
When you copy and paste from google docs/notes into the editor it generally infers the right content. When you paste tables (excel, google docs, google sheets), it just pastes the text.

Reproduction
Copy and paste any table from excel or google docs

Expected behavior
You can use a tool like https://tabletomarkdown.com/convert-spreadsheet-to-markdown/ to see how I'd expect behavior for the

component of the paste

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome

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 source file or test is named. Start by reproducing the paste in the editor with a table copied from Excel or Google Docs, then trace the editor's paste handling. Done means table content is inserted as a table rather than plain text, with the expected structure visible in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.