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

Regressions with pasting on iOS since Froala 2.9.x #3195

Closed
chrisdeeming opened this issue Dec 3, 2018 · 0 comments
Closed

Regressions with pasting on iOS since Froala 2.9.x #3195

chrisdeeming opened this issue Dec 3, 2018 · 0 comments
Labels
Milestone

Comments

@chrisdeeming
Copy link

Expected behavior.

No change since 2.8.x

Actual behavior.

There are two regressions which I believe to be related to the same change:

  • The paste.before|afterCleanup events no longer receive any clipboard_html we just receive an empty string.
  • When pasting the cursor moves to the beginning of the pasted content.
Steps to reproduce the problem.

Set up some paste.before|afterCleanup listeners and check the clipboard_html parameter.

I believe both issues are as a result of wrapping this to exclude iOS:

// Focus on the pasted div.
if (!editor.helpers.isIOS()) {
  $paste_div.focus();
}
OS.

iOS

Browser.

WebKit.

@stefanneculai stefanneculai added this to the 2.9.3 milestone Dec 19, 2018
froala-bot added a commit that referenced this issue May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants