You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Plugins / Addons
- eDocman plugin with SP page builder thowing error
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi,
Not really sure if this is a JCE problem or elsewhere, so I'm trying all options (apologies if this is not for you).
Joomla 4 site using joomshaper SP page builder pro 4.0.1. Using JCE pro with editor button for linking to eDocman docs.
All components using latest version. PHP 8.0.21
When in JCE, clicking on button for eDocman, bring up modal window for selection of documents. Click on document, nothing happens.
With inspector, I can see it's throwing a JS error.
Uncaught TypeError: Cannot read properties of undefined (reading 'replaceSelection') at window.jSelectEdocmanView (admin-documents-modal.js:41:56) at HTMLAnchorElement. (admin-documents-modal.js:60:37)
The js file involved is from eDocman and the code around this line shows:
var editor = Joomla.getOptions('EDEditor');
var tag = ''+title+'';
window.parent.Joomla.editors.instances[editor].replaceSelection(tag);
I've tested this outside of SP page builder using frontend editing and all works fine. I've opened a ticket with eDocman also to see what they think.
Any thoughts/suggestions much appreciated.
Cheers...Vince
Not really sure if this is a JCE problem or elsewhere, so I'm trying all options (apologies if this is not for you).
Joomla 4 site using joomshaper SP page builder pro 4.0.1. Using JCE pro with editor button for linking to eDocman docs.
All components using latest version. PHP 8.0.21
When in JCE, clicking on button for eDocman, bring up modal window for selection of documents. Click on document, nothing happens.
With inspector, I can see it's throwing a JS error.
Uncaught TypeError: Cannot read properties of undefined (reading 'replaceSelection') at window.jSelectEdocmanView (admin-documents-modal.js:41:56) at HTMLAnchorElement. (admin-documents-modal.js:60:37)
The js file involved is from eDocman and the code around this line shows:
var editor = Joomla.getOptions('EDEditor');
var tag = ''+title+'';
window.parent.Joomla.editors.instances[editor].replaceSelection(tag);
I've tested this outside of SP page builder using frontend editing and all works fine. I've opened a ticket with eDocman also to see what they think.
Any thoughts/suggestions much appreciated.
Cheers...Vince
I've tested this outside of SP page builder using frontend editing and all works fine. I've opened a ticket with eDocman also to see what they think.
Sounds like an issue in SP PageBuilder 4.0.1
Does this work with the core Tinymce editor?
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hi Ryan,
Thanks for the response. I have not tried it with Tinymce yet, I was not sure if the eDocman button worked in Tiny or only with your JCE.
I'll give it a try.
Dam from eDocman is logged in taking a look currently, so I'll let him finish, then I try Tiny.
Cheers...Vince
Thanks for the response. I have not tried it with Tinymce yet, I was not sure if the eDocman button worked in Tiny or only with your JCE.
I'll give it a try.
Dam from eDocman is logged in taking a look currently, so I'll let him finish, then I try Tiny.
Cheers...Vince
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!