-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Pasting as plain text retaining format #620
Comments
@beatadelura is it Chrome only (title, original report) or does it affect any other browser (labels)? In case it does please, update the title / "Other details" section accordingly. |
@mlewand It occurs in other browsers as well. Issue updated. |
Same problem here. Browsers: Chrome, FF, Safari. Force pasting as plain text is still working in IE only. |
I wasn't able to reproduce the problem in current editor version (4.9.0). |
After doing the upgrade to 4.9.0 I couldn't reproduce the problem either. I think this issue could be marked as solved. |
Thanks for help @kreatIL that gives us more confidence. Let's wait for the OP. If there's no response in our standard 2 weeks we can close the issue. |
I can still reproduce it in the scenario it was logged and using the codepen provided by @msamsel The steps to reproduce are to format the text in the editor, copy the formatted text from within the editor and paste it into to the same editor instance or a different editor instance |
@JamesPreston1993 so the issue appears only when you copy content between editors or inside editor? I thought that text came from external place. I see that wrong behaviour is possible to reproduce in such scenario on both inline and iframe editor. |
@msamsel That's correct, it seems to behave as expected when copying from external sources |
@JamesPreston1993 thank you for the clarification :) |
Closed in #1830. Fix will be included in 4.10.0 release. |
Are you reporting a feature or a bug?
Bug
Provide detailed reproduction steps (if any)
forcePasteAsPlainText
totrue
in the config<strong>Bold</strong> <span>My span</span>
Expected result
The pasted text should have all formatting removed and replaced with plain text
Actual result
The format of the text is retained on paste
Other details
NOTE:
This was tested in IE but did not occur.
Pasting from external sources (e.g. Word or HTML from a page) does not exhibit the same behaviour
The text was updated successfully, but these errors were encountered: