NPM Resource Changed PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
13 Sep 2025

Allow elements figure and figcaption to be used in popupContent of Joomla-Dialog

Summary of Changes

This PR will add figure and figcaption to the list of allowed elements in popupContent

Testing Instructions

Actual result BEFORE applying this Pull Request

  • notice the figure element is removed and the image is not shown, because of the removed figure element containing the image

Expected result AFTER applying this Pull Request

  • notice both figure and figcaption are present and the image is shown

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 hans2103 hans2103 - open - 13 Sep 2025
avatar hans2103 hans2103 - change - 13 Sep 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2025
Category JavaScript Repository NPM Change
avatar Fedik
Fedik - comment - 13 Sep 2025
avatar dgrammatiko
dgrammatiko - comment - 13 Sep 2025

@hans2103 since you're at it could you also add popovertarget and popovertargetaction to the button and popover in the div? ref: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

avatar hans2103 hans2103 - change - 4 Oct 2025
Labels Added: NPM Resource Changed PR-5.3-dev
avatar hans2103
hans2103 - comment - 4 Oct 2025

@Fedik

Can you maybe also add other Content elements? https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements#content_sectioning

@dgrammatiko

@hans2103 since you're at it could you also add popovertarget and popovertargetaction to the button and popover in the div? ref: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

Both suggestions are legit but out of scope for me at this moment.
Please test and approve this PR. Adding other elements should be done and tested in a separate issue.

avatar HLeithner
HLeithner - comment - 15 Oct 2025

This pull request has been automatically rebased to 5.4-dev.

avatar HLeithner
HLeithner - comment - 15 Oct 2025

This pull request has been automatically rebased to 6.1-dev.

Add a Comment

Login with GitHub to post a comment