Skip to content

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

Open
Davien21 wants to merge 1 commit into
mycolorway:masterfrom
Davien21:master
Open

CHG: fix bug that removes soft line breaks on pasting content#554
Davien21 wants to merge 1 commit into
mycolorway:masterfrom
Davien21:master

Conversation

@Davien21

@Davien21 Davien21 commented Dec 9, 2021

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant