nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
17.11k stars 1.74k forks source link

wysiwyg bug : table broken when double click && paste a word(react, vue, cdn) #1338

Open joielee09 opened 3 years ago

joielee09 commented 3 years ago

Describe the bug

When using table, try to double click the cell and paste something, table broke down it happens in CDN, React, Vue

To Reproduce

( tried codesandbox, but it doesn't save table https://codesandbox.io/s/toasteditorreact-nx8on?file=/src/App.js )

Expected behavior

Screenshots

capture_1 capture_2

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

seonim-ryu commented 3 years ago

@joielee09 When I check it, it pastes well. It works well when I check it in Windows Chrome. Maybe the way to reproduce is wrong?

test

joielee09 commented 3 years ago

@seonim-ryu Can you try : copy a word - double click the header line (black cell) - paste the word

seonim-ryu commented 3 years ago

@joielee09 I checked. The problem occurred intermittently, so I initially thought there was no problem. Thanks for reporting the issue. I'll fix this. (If you are interested in contributing, I think there is a way for you to fix bugs and give PR 🙂)

joielee09 commented 3 years ago

@seonim-ryu Okay let me take this one. Thanks for checking again!

joielee09 commented 3 years ago

Thhis week has been a little busy for me and I'm working on it! Please give me some time thanks!

joielee09 commented 3 years ago

I tried to patch but found any luck. If someone can fix this please do. Sorry for being late.