-
Bug
-
Resolution: Fixed
-
Minor
-
4.4 regressions, 4.4
If you try to edit an image that has a broken url in TinyMCE you get the following JS error:
TypeError: Cannot read properties of undefined (reading 'imageurlrequired')
|
I checked this on Moodle 4.4 and on the https://school.moodledemo.net/ site and the issue is present there, too.
Steps to reproduce:
- Add an image using the TinyMCE editor.
- Using View > Source code, edit the image src to a broken link.
- Save and go back to the TinyMCE editor.
- Click on the broken image, and click on the Image button in the Editor toolbar, to update the image.
- You will see "Preparing the image" in the dialog but it never completes.
- In the Devtools of the browser, you see the JS error provided above.
- is a regression caused by
-
MDL-78096 TinyMCE - Improve image adding
- Closed