Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Davien21
Copy link

@Davien21 Davien21 commented Dec 9, 2021

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
1 participant