nhn / tui.editor

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

Vue-tui-editor, table bug #1778

Open abbb1399 opened 3 years ago

abbb1399 commented 3 years ago

Describe the bug

I am currently using latest version of "toast-ui/vue-editor 3.0.3". For Table feature, there's a problem in chrome developer tool where error messages keep logged. I guess the bug occurs especially when typing text in multiple blocks. Please find attached image as below.

Screenshots

image

Desktop (please complete the following information):

js87zz commented 3 years ago

@abbb1399 I cannot reproduce it. Can you give me your code through code sandbox or repository?

abbb1399 commented 3 years ago

@abbb1399 I cannot reproduce it. Can you give me your code through code sandbox or repository?

https://codesandbox.io/s/dazzling-hooks-budbu?from-embed

Nothing special in code..

Just type in fast speed and delete them, you can reproduce it

image

js87zz commented 3 years ago

@abbb1399 The table selection is weird in image. Basically, the selection on a cell-by-cell basis is incorrect. The normal operation is as follows, and there is no problem. The underlying cause seems to be that text selection.

2021-08-25 15-42-14 2021-08-25 15_42_41

I'll let you know again if I find a clear cause.

abbb1399 commented 3 years ago

https://user-images.githubusercontent.com/65113179/130741238-b1cce613-9596-49e2-9dbe-e3510d8256ea.mp4

Just typed. Hope this video helps you find solution.

js87zz commented 3 years ago

@abbb1399 I checked it. Thanks!!! I will fix it.

js87zz commented 2 years ago

@abbb1399 Sorry for the late response. This issue has been resolved in editor@3.1.3 and merged-table@3.0.2.