Moodle Plugins directory: Tiny Justify | Moodle.org
Tiny Justify
Short description (for the directory listing)
Adds a Justify button to the TinyMCE editor toolbar, enabling full text justification in all Moodle content areas — a feature removed from TinyMCE by default.
Full description
Overview
When Moodle adopted TinyMCE as its default text editor, the familiar Justify alignment option was no longer included. Tiny Justify brings it back — adding a dedicated toolbar button, a menu entry, and quick-toolbar support so that teachers and content creators can justify text just like they would in a word processor.
No configuration is needed by teachers. Once the plugin is installed by an administrator, the Justify button is immediately available everywhere the TinyMCE editor appears.
For Teachers
After the plugin is installed, you will notice a new Justify icon (☰ four equal-length horizontal lines) in the TinyMCE toolbar, right next to the existing alignment buttons (left, centre, right).
How to justify text:
- Open any activity or resource that uses the text editor (e.g. assignment instructions, page content, forum post, quiz question, your profile description, etc.).
- Type or select the paragraph(s) you want to justify.
- Click the Justify button in the toolbar. The selected text will be evenly distributed across both margins.
- To remove justification, simply click the Justify button again — it works as a toggle.
Alternative ways to justify:
- Via menu: Click Format → Align → Justify text in the editor's menu bar.
- Via quick toolbar: Select any text and use the alignment options that appear in the floating quick toolbar above your selection.
No special permissions or extra steps are required — if you can edit content in Moodle, you can use Justify.
For Administrators
Installation:
- Download the plugin ZIP from the Moodle plugins Directory or the GitHub releases page.
- Go to Site Administration → Plugins → Install plugins and upload the ZIP file.
- Follow the on-screen upgrade steps and confirm the installation.
The plugin installs itself under lib/editor/tiny/plugins/justify.
Requirements:
- Moodle 4.5 or later (uses the TinyMCE editor).
- PHP 8.1 or later.
Configuration:
No additional configuration is required. Once installed, the Justify button is automatically added to:
- The main toolbar (next to the right-align button).
- The Format → Align menu (as "Justify text").
- The quick selection toolbar that appears when users select text.
The plugin works for all users who have access to the TinyMCE editor — there are no capability or role restrictions to configure.
Privacy:
This plugin does not store, collect, or transmit any personal data.
Languages included:
- English
- Português (Brasil)
Comments