Hi,
thanks for your post, and sorry for the trouble.
I just tested this on my dev and test sites (with the “Classic Editor” plugin installed) but could not reproduce this issue. My guess is that something else is interfering on your site. Can you therefore please try again after temporarily deactivating all other plugins and after switching to a WordPress default theme like Twenty Twenty? That way, we can find what’s causing this.
Regards,
Tobias
Thread Starter
mixos
(@mixos)
Let me provide some more details. When I click the button i get this JS error on the console. If I reload the page with the console open then the button works!
Uncaught TypeError: o is undefined
e https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
execCommand https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
execCommand https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
onclick https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
fire https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
fire https://www.domain.com/wp-includes/js/tinymce/themes/modern/theme.min.js?wp-mce-49110-20201110:1
o https://www.domain.com/wp-includes/js/tinymce/themes/modern/theme.min.js?wp-mce-49110-20201110:1
C https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
d https://www.domain.com/wp-includes/js/tinymce/tinymce.min.js?ver=49110-20201110:2
-
This reply was modified 5 years, 1 month ago by
mixos.
-
This reply was modified 5 years, 1 month ago by
mixos.
Hi,
unfortunately, that doesn’t really show us a solution. But from what I can see, part of the error seems to be caused by a theme JS file. This then likely causes the browser to stop evaluating JavaScript code on the page, including that from TablePress.
To verify that assumption, I can only recommend to test again with a WordPress default theme.
Now, even if you can’t get the button to work, you can still use the TablePress tables in your posts and pages: Just type in the Shortcode
[table id=123 /]
(with the correct table ID) manually.
Regards,
Tobias
Thread Starter
mixos
(@mixos)
Yes, I can insert tables with the shortcode, no problem there.
Do you think the error comes from tinymce.min.js or the theme.min.js
I am trying to avoid deactivating the current theme, as this will cause some things to reset.
Hi,
good question… I would lean to theme.min.js, simply as tinymce.min.js is such a widely used library – but I’m not sure.
Regards,
Tobias