mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36: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. |
||
---|---|---|
.. | ||
behat_command.php | ||
behat_config_manager.php | ||
behat_config_util.php | ||
behat_context_helper.php | ||
behat_core_generator.php | ||
behat_generator_base.php | ||
behat_selectors.php | ||
behat_session_interface.php | ||
behat_session_trait.php | ||
component_named_replacement.php | ||
component_named_selector.php | ||
exact_named_selector.php | ||
named_selector.php | ||
partial_named_selector.php | ||
settable_editor.php | ||
util.php |