Wiris filter attempts explicit path load of configurationjs.php, prevents TinyMCE editor from loading #57
Labels
state:accepted
We'll work on this issue soon
state:requested
We're currently working on this
type:bug
Something isn't working
Moodle: 3.9
Wiris: 7.26.0 2021050600
We have updated to Moodle 3.9 and Wiris 7.26.0 and have discovered that the TinyMCE editor no longer loads. We've discovered that Moodle is trying to fetch the file /filter/wiris/integration/configurationjs.php (with an explicit /filter/wiris/... path) which doesn't work on our instance as our Moodle is in a sub-directory.
The browser loads these files and other TinyMCE files fine,
/moodle3/lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce.js
/moodle3/lib/editor/tinymce/tiny_mce/3.5.11/plugins/visualchars/editor_plugin.js
If I deliberately copy configurationjs.php onto the webserver into a directory were it is accessible as /filter/wiris/integration/configurationjs.php then the TinyMCE editor loads correctly.
I think Wiris' TinyMCE plugin contains an explicit path to /filter/wiris instead of filter/wiris
The text was updated successfully, but these errors were encountered: