-
Notifications
You must be signed in to change notification settings - Fork 58
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
this.getCurrentRange is not a function on Android #315
Comments
Its this line in the plugin: I'm not sure why it can't find the function defined on the bottom? Is "this" in this context maybe not referencing to the object ? Cause $( window ) hasn't been created using the "new" constructor ? So it won't find any methods that have been prototype'd into the object ? |
Yep I'm pretty sure "this" is the problem. The context is different. |
Hi @sebawagner ! IMO this issue should be reported to bootstrap-wysiwyg.js project. |
But which one? I can find several projects with that name. Which one did wicket-jquery-ui fork/copy ? And actually wicket-jquery-ui hosts a raw source file. So - if I find the bootstrap-wysiwyg project this came from, how will this change be populated here? |
The link to the project is at the top of the JS file: Line 1 in ebd3d16
https://github.com/steveathon/bootstrap-wysiwyg The bad news is that there is no much activity in this project since 2018. |
There is actually a fix proposed and committed in that repo: But the fix doesn't work. I checked the fix. |
I've created an issue in their Repo: steveathon/bootstrap-wysiwyg#152 But will you import those latest changes to get rid of the console error ? |
Although not fixing the issue :) It at least stops your browser from making a funny noise when there is a console.error :) |
Hi Sebastian, thanks for reporting the issue! |
Great thanks! |
Testing the module on Android leads to an issue where some event notifiers don't seem to work:
And looking through the console debug it looks like:
Is that a platform specific issue?
That is Chrome 81.0.4044.117 on Android 9
And wicket-jquery-ui version 9.0.0-M5
The text was updated successfully, but these errors were encountered: