? ? PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
26 Jun 2023

Summary of Changes

Editor buttons should return a Registry object instead of CMSObject. CMSObject buttons are still supported.

Testing Instructions

Open the article form and add some images though the editor buttons or a readmore divider.

Actual result BEFORE applying this Pull Request

All works.

Expected result AFTER applying this Pull Request

All works.

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 joomla-cms-bot joomla-cms-bot - change - 26 Jun 2023
Category Libraries Front End Plugins
ac8cba1 26 Jun 2023 avatar laoneo docs
avatar laoneo laoneo - open - 26 Jun 2023
avatar laoneo laoneo - change - 26 Jun 2023
Status New Pending
avatar laoneo laoneo - change - 26 Jun 2023
Labels Added: PR-5.0-dev
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jun 2023
Category Libraries Front End Plugins Libraries Front End Plugins Unit Tests
avatar laoneo laoneo - change - 26 Jun 2023
Labels Added: ?
avatar Fedik
Fedik - comment - 26 Jun 2023

Sorry, I do not approve it
There a PR for this issue #40082 which introduce Joomla\CMS\Editor\Button\Button

But if that PR will be rejected then this one PR is fine :)

avatar laoneo laoneo - change - 28 Jun 2023
Title
Return a registry in button plugins
[5.0] Return a registry in button plugins
avatar laoneo laoneo - edited - 28 Jun 2023
avatar HLeithner
HLeithner - comment - 21 Aug 2023

I merged the Event PR, because I think it's more important to use our event system correctly. If this pr still make sense in another way please rebase it. thanks

avatar laoneo
laoneo - comment - 21 Aug 2023

This one doesn't make then any sense as the usage of CMSObject is deprecated now for buttons.

avatar laoneo laoneo - close - 21 Aug 2023
avatar laoneo laoneo - change - 21 Aug 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-08-21 07:14:21
Closed_By laoneo
Labels Added: ?

Add a Comment

Login with GitHub to post a comment