Copy then paste creates additional newline character
shanpig opened this issue · comments
david commented
Describe the bug
Before v3.0.0, using command+a
to copy all, then use command+v
to paste, will not create additional newline between text.
However, after v3.0.0, there is an additional newline character between consecutive pastes.
To Reproduce
Steps to reproduce the behavior:
Please look at this codesandbox
- check the dependency of tui.react-editor is at v2.5.4
- input anything, then press
command+a
->command+v
(control+a
,control+v
for windows) - every consecutive pastes has no newlines
- switch dependency to v3.0.0 (or v3.0.0 alpha to be more specific)
- repeat 2.
- every consecutive pastes has a newline character
Expected behavior
every consecutive pastes has no newline characters
Screenshots
I think a demo gif would be more precise.
Desktop (please complete the following information):
- OS: macOS Monterey
- Browser chrome 102.0.5005.61
이진우 commented
@shanpig Thank you for the issue. we'll check it later. It is assumed that there is a problem in �ww mode.
david commented
Is there any updates for this issue ? 🙏