Copy/paste text from (MS Word/MS Outlook) magically creates new newlines.
Author: szerleticsiCreated Feb 27, 2018Updated Aug 17, 2026
Labelsmodule:clipboard
If I copy text from my Quill editor to Microsoft Word/Microsoft Outlook, then it's works. But if I want copy back these text from Microsoft Word/Microsoft Outlook to Quill editor, then new newlines seem to be inserted into the text. My Quill editor has a 100% width (1800px), and I don't use any specific options (matchVisual, addMatcher, etc.) from Quill.
Steps for Reproduction
- Visit https://quilljs.com/docs/formats/
- Open MS Word/MS Outlook, put any text, that does not contain any newlines, but it is long enough to wrap
- Copy text from MS Word/MS Outlook to Quill editor
Text in Word:
Expected behavior:
- there should be no newlines in the text
Actual behavior:
- quill creates new newlines
Tested Platforms:
- windows 10 64Bit, Chrome 63.
Version:
- quill Version: 1.3.4
Source: slab/quill