As a part of the Moodle partnership, they agreed in the contract that they would implement a feature for us in Moodle. The feature is: when MathType is installed, automatically remove the default math editor button from the toolbar.
The understanding at the time was that this had to be implemented on their side, however now they are saying we can do this easily. They provided a snippet which, modified appropriately, became this PR.
Steps to reproduce
Start a Moodle that has TinyMCE 6 (e.g. Moodle 4.2 with PHP 8.1).
Enable development mode by setting the cachejs config value to false in the admin settings.
Configure Tiny as the default text editor, enable the Wiris filter, and set it up as the first filter.
Open a page with Tiny.
Actual result
The default equation editor is shown, both under the Insert menu and in the toolbar (the symbol is a pocket calculator).
Expected result
Instead of the default equation editor, MathType and ChemType appear.
Description
As a part of the Moodle partnership, they agreed in the contract that they would implement a feature for us in Moodle. The feature is: when MathType is installed, automatically remove the default math editor button from the toolbar.
The understanding at the time was that this had to be implemented on their side, however now they are saying we can do this easily. They provided a snippet which, modified appropriately, became this PR.
Steps to reproduce
cachejs
config value to false in the admin settings.Actual result
The default equation editor is shown, both under the Insert menu and in the toolbar (the symbol is a pocket calculator).
Expected result
Instead of the default equation editor, MathType and ChemType appear.
#taskid 41612