codex-team / codex-team/editor.js
[Bug] Multi-Line paste in custom datatable
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I create an Excel/CSV datatable to integrate in EditorJS

but when i paste an entire column (or text containing `\n` or `\rn,` i dont have the problem for inline copy containing only `\t`) editorjs creates me as many blocks as I have elements to copy. Is there a way to handle the "paste" event at the editorjs level to only handle the case of my table? I tried to put a condition at the paragraph level, it no longer displays text but the blocks are created. I think I regularly have columns of +1000 rows to copy. If someone has an idea..
i think same problem #1427
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.