mdx-editor / mdx-editor/editor
Pasting a table from google docs / excel
Nobody has claimed this yet.
- 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
Desktop (please complete the following information):
- OS: MacOS
- Browser Chrome
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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