You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When initializing an empty editor instance with the option autofocs: true and pasting text after the initialization, the editor adds the pasted text and adds a newline at the end of the editor.
Steps to reproduce the bug
Steps to reproduce the behavior:
Go to the sandbox
Copy a text from somewhere
After loading the sandbox, paste the text without clicking outside the editor
mmachatschek
changed the title
Pasting into the editor with autofocus adds newlines
Pasting into empty editor with autofocus adds newlines
Jul 14, 2021
Description
When initializing an empty editor instance with the option
autofocs: true
and pasting text after the initialization, the editor adds the pasted text and adds a newline at the end of the editor.Steps to reproduce the bug
Steps to reproduce the behavior:
CodeSandbox
I created a CodeSandbox to help you debug the issue: https://codesandbox.io/s/funny-tdd-e3w0n
Expected behavior
No newline in the editor after pasting with autofocus set.
Environment?
The text was updated successfully, but these errors were encountered: