Eric,
If you’re comfortable editing the plugin code, the workaround appears to be changing line 35 of assets/js/admin.js from using .live() to .on().
$( '#cpsh .insert-shortcode' ).live( 'click', function( e ) {
becomes
$( '#cpsh .insert-shortcode' ).on( 'click', function( e ) {
Hope this helps.
Thank you, dear sir! You are one in a million, Burt!
Hi and thank you for your suggestion which I was able to change through the editor. That works fine when viewing the live webpage. It removes the shortcodes that were displaying. However it doesn’t resolve the issue when i’m updating my pages.
With Column Shortcodes plugin deactivated this is what my page should look like when I’m editing my WordPress page. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Deactivated-Column-Shortcode.png
With Column Shortcodes plugin activated this is how my page editor displays. https://www.stclairgardens-bia.com/wp-content/uploads/2020/08/Activated-Column-Shortcode.png
Is there a way to fix this issue without me having to deactivate Column Shortcodes plugin every time I need to update my pages? Are you working on an update that will resolve the issue and work with WordPress 5.5?
Thank you again,
Eric
-
This reply was modified 5 years, 6 months ago by
Jan Dembowski. Reason: Expanded shortlinks
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@efran1526 Don’t use shortlinks in these forums. Those get expanded when found and I have expanded yours.
That’s fine. It wasn’t to hide anything, just found them to be too long.
@efran1526 When editing the page, with the Column Shortcodes plugin enabled, hold down the CTRL key and click on the browser’s reload button. I suspect that you’re running into a local Chrome browser caching issue after making the change to the Javascript file.
If that doesn’t help, then you might want to look for the error messages in the console within the Developer Tools in Chrome.
btw, I’m not the developer of the plugin, just another user like you.
Burt! Thank you! the CTRL reload worked. I’m a happy camper again.
Eric
@efran1526 Good to hear! It would have gotten uglier if that didn’t resolve it.
We just released version 1.0.1 with the fix provided by @burt
Thanks, @burt for your contribution!
Thanks for the update @dungengronovius.
Any chance of merging in a pull request (https://github.com/codepress/column-shortcodes/pull/28) to address double slashes in the path? Apart from what @emaildano mentions, this can also cause the request to be blocked by certain Cloudflare rules.