-
Functional Test
-
Major
-
None
-
Moodle 5.0
This test requires admin access to enable the new TinyMCE editor
Guidelines
- TinyMCE editor should be your default editor.
- General settings page for TinyMCE can be found at Site administration > Text editors > TinyMCE editor > General settings
- Please test this on both Themes (classic, boost)
- Please test this with multiple browsers (Chrome, FF, Edge, Safari...)
- If possible, execute the test in a mobile device.
- Execute the test with the browser console open so you can see if there are any Javascript errors.
- Verify it works in different languages, at least one RTL (Hebrew for example)
TinyMCE plugins can be disabled/enabled
- In the TinyMCE general settings page disable one the plugins eg. Accessibility checker
- Go to any page where there's an editor eg. user profile edit page
- Ensure the disabled plugin is not available to be used in the editor.
- Try enabling and disabling other plugins and ensure it works as expected.
Editor preferences
- In the user menu, select Preferences > Editor preferences.
- Set the text editor to "Plain text area" and save changes.
- In the profile page, verify the Description field is now a plain text field.
- Edit the editor preferences again, setting back to "TinyMCE editor".
- In the profile page, verify the Description field is using the TinyMCE editor again.
TinyMCE logo can be hidden
- In the TinyMCE general settings page enable "TinyMCE branding" (if not enabled).
- Go to your profile page and verify the Tiny logo is displayed on the bottom of the editor.
- Go back to the settings page and disable "TinyMCE branding".
- In the "Edit profile" page, verify the Tiny logo is not visible any more.
Equation
For this test please ensure MathJax is enabled.
- In the editor, click "Insert > Equation editor" and add the following equation:
\sqrt[a]{b+c}
- Save and verify the equation is rendered correctly.
- Try experimenting a different equation from the doc Using TeX Notation and copy and paste it (not markers $$) into the equation editor.
Autosave
- Add some text to the editor, wait around a minute or so and close the window.
- Go back to the same page and verify the content has been restored in the editor.
Smoke test
- Perform a smoke test in the editor, trying all features in the editors:
- Plugins (H5P, Media, Audio and Video recording)
- Text formatting (Paragraph styles, Bold, Italic)
- Menu items (Edit, View, Insert...)
- Links
- Emoji Picker
- Accessibility checker, Screenreader helper
- Show more/fewer buttons (3-dots)
- Click in one of the options in the menu bar (Edit, View, Insert, Format...), scroll down and up.
- Ensure the dropdown menu stays anchored to the button that triggered it.
- Verify the justify alignment toolbar and item menu do not exist.
- All features should works as expected.