Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-75244 form: Change checker should check existence of tinyMCE API
The window.tinyMCE.editors API was present in version 3 of TinyMCE, but is not present in later versions. As a result, this check tries to loop over a variable which does not exist and throws an error in the process. We should check that window.tinyMCE *and* window.tinyMCE.editors both exist before attempting to loop over them.
- Loading branch information