No Code Attached Yet bug
avatar Chaosxmk
Chaosxmk
16 Mar 2022

Steps to reproduce the issue

  1. Set default editor to Editor - None or Editor - CodeMirror
  2. Create a custom module
  3. In the .xml file, create two separate <fieldset> with a <field type="editor" /> each
  4. Open the module in the backend to edit, swap to the second tab and try to open any editor extensions (ie. Media)

Expected result

The modal dialog appears

Actual result

The modal backdrop appears, but the modal dialog does not.
2022-03-16_14-51-42

Additional comments

When inspecting the DOM elements, the issue appears to be that the modal dialog elements are placed in the first tab, and since tabs have a display:none when inactive, the dialog itself is also hidden.

I tested with TinyMCE, something about how that one is setup/instantiated has it either fix itself or just handle the modal dialogs differently.

avatar Chaosxmk Chaosxmk - open - 16 Mar 2022
avatar joomla-cms-bot joomla-cms-bot - change - 16 Mar 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Mar 2022
avatar dgrammatiko
dgrammatiko - comment - 16 Mar 2022

Confirmed

Someone needs to revive this #32062
The platform needs a way to queue html fragments to be placed before the closing body tag. Any other solutions are just monkey patches that ignore the fact that this functionality is essential and is right now missing!!

@bembelimen @HLeithner

avatar dgrammatiko
dgrammatiko - comment - 20 Mar 2022

There's a PR: #37330

avatar Quy Quy - change - 20 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-20 18:45:25
Closed_By Quy
avatar Quy Quy - close - 20 Mar 2022
avatar dgrammatiko
dgrammatiko - comment - 24 Mar 2022

Please re open

avatar alikon alikon - change - 25 Mar 2022
Status Closed New
Closed_Date 2022-03-20 18:45:25
Closed_By Quy
avatar alikon alikon - reopen - 25 Mar 2022
avatar Hackwar Hackwar - change - 17 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 17 Feb 2023

Add a Comment

Login with GitHub to post a comment