-
Bug
-
Resolution: Fixed
-
Minor
-
4.4 regressions, 4.4.2
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-82181-404 -
-
1
-
Team Hedgehog 2024 Sprint 2.2
This is a regression from MDL-78096
The bug here is that the editor isn't observing whether it's possible to add files to the editor, so when you click the Insert image button then nothing appears to happen, other than the following error in the browser console:
14:14:40.974 Uncaught TypeError: options is undefined
|
<anonymous> http://moodle.internal/master/lib/requirejs.php/1718198044/core/first.js:5118
|
handleImageAction http://moodle.internal/master/lib/requirejs.php/1718198044/core/first.js:5108
|
onToolbarButtonExecute http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:16700
|
runWithApi http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:11318
|
onToolbarButtonExecute http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:16698
|
run http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:2191
|
each$1 http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:232
|
run http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:2190
|
assemble http://moodle.internal/master/lib/editor/tiny/loader.php/1718198044/themes/silver/theme.js:2691
|
first.js:5118:2704
|
We've had similar with other Tiny plugins in the past, see MDL-79827