JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.74k stars 309 forks source link

Editor removes spaces between html markup #1291

Open oaknorton opened 1 year ago

oaknorton commented 1 year ago

Describe the bug If 2 types of markup are separated by a space, and that text is pasted into a Sun Editor view, the editor removes the space.

To Reproduce Steps to reproduce the behavior: In a word processor, take a few words and mark up one half with bold/underline/highlight/etc... and then skip the space after the last word and mark up the remaining text of the line so only a space in the middle isn't marked up. Copy the text and paste into the editor and the space is removed.

Expected behavior Keep the space present

Screenshots Reproduction video: https://www.loom.com/share/d4664d70d36c45d1a8c8d9dd1da5b4aa

Desktop (please complete the following information):

damir-idea commented 10 months ago

@oaknorton Hello! Did you find any solution for this issue?

oaknorton commented 10 months ago

No, waiting on a fix from Sun Editor.