RTC Language Change PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar RickR2H
RickR2H
2 Jul 2025

Pull Request for Issue # .

Summary of Changes

  • Added the option to define custom classes for the image class dropdown in the TinyMCE plugin configuration, while keeping the default classes.
  • When selecting "No Class Selected" in the image class dropdown, the class property is completely removed from the image.

image-class

Testing Instructions

  1. Build the CSS.
  2. Go to the TinyMCE plugin configuration.
  3. Scroll to the bottom of the page to the Image Classes List parameter.
  4. Click the green + symbol to add a custom class.
  5. Add a custom class with name: myclass and value: myclass.
  6. Go to an article and add an image.
  7. Select the image and click the image icon in the editor icon bar.
  8. Open the class dropdown and select the created class: myclass and click Save.
  9. Open the Source Code Editor in TinyMCE and check if the class is in the image tag.

    img-class-dropdown2
  10. Open the image dialog again and remove the class by clicking: No Class Selected.
  11. Check if the class property is removed from the image tag.

Actual result BEFORE applying this Pull Request

No classes can be added

Expected result AFTER applying this Pull Request

Classes can be added in the configuration and selected in the image class dropdown in TinyMCE

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar RickR2H RickR2H - open - 2 Jul 2025
avatar RickR2H RickR2H - change - 2 Jul 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jul 2025
Category Administration Language & Strings Front End Plugins
avatar RickR2H RickR2H - change - 2 Jul 2025
Title
Added option to define image classes
Add custom classes to the class dropdown in the image dialog in TinyMCE
avatar RickR2H RickR2H - edited - 2 Jul 2025
avatar RickR2H RickR2H - change - 2 Jul 2025
Labels Added: Language Change PR-6.0-dev
avatar tecpromotion tecpromotion - change - 11 Jul 2025
Title
Add custom classes to the class dropdown in the image dialog in TinyMCE
[6.0] Add custom classes to the class dropdown in the image dialog in TinyMCE
avatar tecpromotion tecpromotion - edited - 11 Jul 2025
avatar hans2103 hans2103 - test_item - 11 Jul 2025 - Tested successfully
avatar hans2103
hans2103 - comment - 11 Jul 2025

I have tested this item ✅ successfully on b244ebc

followed test instructions and was able to see myClass in the classList. Nice feature


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45676.

avatar exlemor exlemor - test_item - 11 Jul 2025 - Tested successfully
avatar exlemor
exlemor - comment - 11 Jul 2025

I have tested this item ✅ successfully on b244ebc

I have tested this successfully - cool add-on!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45676.

avatar RickR2H RickR2H - change - 14 Jul 2025
Status Pending Ready to Commit
avatar RickR2H
RickR2H - comment - 14 Jul 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45676.

avatar richard67 richard67 - change - 16 Jul 2025
Labels Added: RTC
avatar softforge softforge - change - 23 Jul 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-07-23 23:07:09
Closed_By softforge
avatar softforge softforge - close - 23 Jul 2025
avatar softforge softforge - merge - 23 Jul 2025
avatar softforge
softforge - comment - 23 Jul 2025

Thank you to the author for this feature and the testers who did their bit

Add a Comment

Login with GitHub to post a comment