simditor icon indicating copy to clipboard operation
simditor copied to clipboard

CHG: fix bug that removes soft line breaks on pasting content

Open Davien21 opened this issue 3 years ago • 0 comments

Whenever I copy content from Ms word or some other text editor software, on pasting the content into Simditor, The format function removes soft line breaks and causes some words at the end to merge with each other. I've fixed that by simply updating the regex replace function to add the spaces on soft line breaks.

Here's a few screenshots: BEFORE the fix: image

AFTER the fix: image

Davien21 avatar Dec 09 '21 00:12 Davien21