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 is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#114906 Uploading documents in DocMan

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 11 October 2023 12:16 BST

ltempest
Hello,
I am using both JCE Editor Pro and DocMan on my website. However I am unable to drag / drop or upload Documents via the DocMan interface with the JCE editor loaded. JoomlaTools have investigated and tested from their end with this response:

Thank you very much for the packages, really appreciate it.

Now, big problems ... this version of JCE has a new code editor tab that's causing big trouble ... this tab is adding a form of its own and this is being done without an iframe. Apparently they've decided that it was a good idea to inject their form directly on the current document's body, which is of course already including an HTML form. Forms inside forms is no valid HTML and this causes erratic and un-expected behavior. This is basically a design problem on JCE's behalf.

We could attempt to fix this but I can assure you that other problems will arise ... let it be with DOCman or any other extension. In this particular case our JS is picking JCE's form inputs as our own and then the JS fails because I end up picking their form instead of ours. There are so many things that could go wrong with this that I cannot suggest anything else than simply disabling that code tab this pro version includes.

Normally you would render that form in such a way that it won't conflict with the wrapping markup, meaning that you would use an iframe here for this end ... but unfortunately this isn't the case at all => http://drops.arunasmazeika.com/CleanShot-2023-10-05-at-15.53.42-2x.png

We are very sorry but this won't fix. Our suggestion is to disable the rendering of the Code tab in JCE's settings.


Are you able to advise if there is a solution to tweaking the JCE code to fix the issue?

Thanks

Ryan
Please try JCE Pro 2.9.51 Beta 5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.