Tiny Justify

TinyMCE ::: tiny_justify
Maintained by Kelson da Costa Medeiros
Adds a Justify button to the TinyMCE editor toolbar, enabling full text justification (align justify) along with left, center, and right alignment options for content areas in Moodle.
Latest release:
27 sites
43 downloads
2 fans
Current versions available: 1

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:

  1. Open any activity or resource that uses the text editor (e.g. assignment instructions, page content, forum post, quiz question, your profile description, etc.).
  2. Type or select the paragraph(s) you want to justify.
  3. Click the Justify button in the toolbar. The selected text will be evenly distributed across both margins.
  4. 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:

  1. Download the plugin ZIP from the Moodle plugins Directory or the GitHub releases page.
  2. Go to Site Administration → Plugins → Install plugins and upload the ZIP file.
  3. 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)

Potential privacy issues

This plugin does not store, collect, or transmit any personal data.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Kelson da Costa Medeiros (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments