When all providers for a certain action are disabled, or if providers
are enabled but all individual actions of a type are disabled, then
a warning is shown on the placement admin settings page for actions
that have no providers available.
Also the text editor placement will not show the option to generate
images or text if there are no actions available.
Change the core:t/move icon from four-directional arrows (up-down-left-right)
to two-directional arrows (up-down) to reduce confusion, as it is used in areas
where drag-and-drop functionality is not supported
- Quiz is setting the text editor id in this format: `#q2:1_answer`.
This will break the querySelector(). We need to update the code to
escape those colons.
- Generate AI image requires users to have the capability to upload files.
A new extra condition is added to verify this one.
To make the plugin name a bit more generic, we renamed as below
- Shortname: `aiplacement_tinymce` -> `aiplacement_editor`
- Fullname: `TinyMCE Editor Placement` -> HTML Text Editor Placement
Initial AI placement plugin for the TinyMCE editor.
It includes a TinyMCE plugin and the AI placement plugin.
It supports both text and image generation.
Originally implemented in MDL-80891
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
In MDL-82211, the preview icon was updated to use the "fa-regular fa-eye" icon.
However, this icon is also used elsewhere to represent hide/show functionality,
leading to potential confusion.
To address this, the UX team has requested that the change be reverted, and the
preview icon should now be replaced with "fa-magnifying-glass-plus".
The fa-check-double icon for correct/incorrect/partial grades were updated
in MDL-82497. However, the UX team has decided to replace these icons with
the following:
- core:i/grade_correct : fa-check-double --> fa-regular fa-circle-check
- core:i/grade_incorrect : fa-xmark --> fa-regular fa-circle-xmark
- core:i/grade_partiallycorrect : fa-check --> fa-circle-half-stroke
These changes should be consistent with the Navigation quiz block too.
Implementing MDL-81031 caused a regression because
lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/*
was inadvertently deleted. Re-adding those files now.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>