mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
![]() Prior to this commit, the behat_form_editor integration was hard-coded to use Atto. This change allows other editors to be used to set editor values, and breaks that hard bond. Following this change, any editor is able to define a behat_editor_[name].php file defining a function which meets the following signature: set_editor_value(string $editorid, string $value): void Each editor is responsible for checking whether its own API is available and calling any relevant functions to force the editor to set the content. Please note: Behat is unable to determine the current editor in use on the page automatically. |
||
---|---|---|
.. | ||
axe | ||
classes | ||
extension/Moodle/BehatExtension | ||
features/bootstrap | ||
form_field | ||
behat_base.php | ||
behat_deprecated_base.php | ||
behat_field_manager.php | ||
core_behat_file_helper.php | ||
lib.php |