Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix joomlaExtButtons TinyMCE plugin, buttons validation #44507

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

Fedik
Copy link
Member

@Fedik Fedik commented Nov 22, 2024

Pull Request for Issue # .

Summary of Changes

TinyMCE prints a warning about incorect value for joomlaExtButtons, when all buttons is disabled.
The PR is fixing it, by allowing the empty array of buttons.

Testing Instructions

run npm install
Edit


and set buttons="false"
Open Browser Dev console, and open any article for editing.

Actual result BEFORE applying this Pull Request

Console warning: Invalid value passed for the joomlaExtButtons option. The value must be a object.

Expected result AFTER applying this Pull Request

No warning

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

@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev labels Nov 22, 2024
@Fedik Fedik added the bug label Nov 22, 2024
@Fedik Fedik changed the title Fix joomlaExtButtons joomlaExtButtons plugin, buttons validation Fix joomlaExtButtons TinyMCE plugin, buttons validation Nov 24, 2024
@Quy
Copy link
Contributor

Quy commented Nov 26, 2024

I have tested this item ✅ successfully on 2d2529c


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

1 similar comment
@alikon
Copy link
Contributor

alikon commented Nov 27, 2024

I have tested this item ✅ successfully on 2d2529c


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

@joomla-cms-bot joomla-cms-bot removed NPM Resource Changed This Pull Request can't be tested by Patchtester bug PR-5.2-dev labels Nov 27, 2024
@alikon
Copy link
Contributor

alikon commented Nov 27, 2024

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 27, 2024
@alikon alikon added NPM Resource Changed This Pull Request can't be tested by Patchtester bug PR-5.2-dev labels Nov 27, 2024
@Hackwar Hackwar merged commit 41026e8 into joomla:5.2-dev Nov 27, 2024
4 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Nov 27, 2024
@Hackwar Hackwar added this to the Joomla! 5.2.3 milestone Nov 27, 2024
@Hackwar
Copy link
Member

Hackwar commented Nov 27, 2024

Thanks for your contribution!

@Fedik Fedik deleted the tinymce-extbtn-fix branch November 27, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.2-dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants