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

Js error on wagtailimage plugin #19

Open
alejandrogarza opened this issue Jul 5, 2017 · 0 comments
Open

Js error on wagtailimage plugin #19

alejandrogarza opened this issue Jul 5, 2017 · 0 comments

Comments

@alejandrogarza
Copy link

alejandrogarza commented Jul 5, 2017

Hello,
When selecting position and trying to insert an image from the Wagtailtinymce editor I keep on getting this error:

tinymce.jquery.js:13451 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
    at Selection.setRng (http://localhost:8000/static/wagtailtinymce/js/vendor/tinymce/tinymce.jquery.js:13451:23)
    at DOMUtils.<anonymous> (http://localhost:8000/static/wagtailtinymce/js/vendor/tinymce/tinymce.jquery.js:26159:16)
    at executeHandlers (http://localhost:8000/static/wagtailtinymce/js/vendor/tinymce/tinymce.jquery.js:315:36)
    at HTMLDocument.nativeHandler (http://localhost:8000/static/wagtailtinymce/js/vendor/tinymce/tinymce.jquery.js:421:7)

I googled a bit about the issue (1, 2, 3) and even though I'm not sure about the cause, everyone keeps recommending to update the js of tinymce. Is it possible that I am doing something wrong or the js error of tinymce needs to be updated(current one is 2 years old) on the wagtailtinymce module?

Note: I current have the noneditable_leave_contenteditable option available.

Thanks!

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

No branches or pull requests

1 participant