ejyothi / MantisBT-MarkDownEditor

A MantisBT plugin to enable MarkDown Editor for text fields
5 stars 1 forks source link

cannot report issue when enabled #16

Open priocomdevops opened 3 years ago

priocomdevops commented 3 years ago

when plugin is installed, the 'report issue' button does not work, and an issue cannot be reported. When I uninstall it it works. I have disabled dropzone but still no luck. I'm running mantis 2.24.3. Kindly assist. Thanks.

libregeek commented 3 years ago

Sorry to hear that the plugin is not working. I tested it on our environment (Mantis version 2.24.3) and it works perfectly. It might be a browser compatibility issue. Could you please provide more info on your environment and any messages/warnings from your browser console.

priocomdevops commented 3 years ago

Thanks for the quick reply.

I'm running mantis 2.24.3 on localhost through Xampp 3.2.3.

I'm using Brave browser.

PHP 7.3.5

No errors shown in the browser, the button simply does not do anything.

I also have some PHP extensions enabled:

Does it have any compatibility issues with any php extensions?

priocomdevops commented 3 years ago

Sorry to hear that the plugin is not working. I tested it on our environment (Mantis version 2.24.3) and it works perfectly. It might be a browser compatibility issue. Could you please provide more info on your environment and any messages/warnings from your browser console.

What browser are you using?

priocomdevops commented 3 years ago

Sorry to hear that the plugin is not working. I tested it on our environment (Mantis version 2.24.3) and it works perfectly. It might be a browser compatibility issue. Could you please provide more info on your environment and any messages/warnings from your browser console.

i took some time to reinstall and recheck, and the console displayed these error:

'An invalid form control with name='description' is not focusable.'

UPDATE

I made a quick fix by removing the 'required' attribute for the 'description' text area: (in the plugin's plugin.js file):

document.getElementById('description').removeAttribute('required');

Is this a viable solution?