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