When copying a table from Word into the ToastUI in WYSIWYG mode it seems to produce HTML that is not valid. This only happens when the color-syntax plugin is being used.
To Reproduce
Steps to reproduce the behavior:
Open this word document (ToastUiCopyPasteIssue.docx) in Microsoft Word (Note: If you use LibreOffice, it will not reproduce the issue)
Select and copy the table in the document
Paste into the TOASTUI WYSIWYG editor
Select the "Markdown" tab in the editor. You will see the badly formatted span elements.
Expected behavior
The pasted content should be valid HTML span tags. It appears there are "new line" characters in the style attribute of the span elements causing the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 7
Browser Brave
Version 3.1.3
Smartphone (please complete the following information):
Describe the bug
When copying a table from Word into the ToastUI in WYSIWYG mode it seems to produce HTML that is not valid. This only happens when the
color-syntax
plugin is being used.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The pasted content should be valid HTML span tags. It appears there are "new line" characters in the style attribute of the span elements causing the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.