No Code Attached Yet
avatar crystalenka
crystalenka
14 Dec 2022

Steps to reproduce the issue

  1. Create a custom field of type editor. Make sure the "Buttons" option is set to yes. Set the editor to subform only.
  2. Create a custom field of type subform. Add the editor field to it. Make sure multiple is set to yes.
  3. Edit an article where the field is available.
  4. Add 2-3 rows of the subform.
  5. On the last subform row, use an editor button ("CMS content" in TinyMCE) to insert something like a menu item.

Expected result

Content is inserted in the editor field where the button was pressed.

Actual result

Content is inserted in the editor field in the first row only.

System information (as much as possible)

J 4.2.6
PHP 8.1

Additional comments

avatar crystalenka crystalenka - open - 14 Dec 2022
avatar joomla-cms-bot joomla-cms-bot - change - 14 Dec 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Dec 2022
avatar richard67 richard67 - change - 19 Dec 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-12-19 15:08:08
Closed_By richard67
avatar richard67 richard67 - close - 19 Dec 2022
avatar richard67
richard67 - comment - 19 Dec 2022

Closing as having a pull request. Please test #39449 . Thanks in advance.

avatar Fedik
Fedik - comment - 19 Dec 2022

That kind of "known issue" since subform exist, there no easy fix for it currently.

Work around:

  • add rows that you need,
  • save the article
  • now buttons should work
avatar crystalenka
crystalenka - comment - 19 Dec 2022

That kind of "known issue" since subform exist, there no easy fix for it currently.

Work around:

  • add rows that you need,

  • save the article

  • now buttons should work

There's a PR open :) also that's not accurate, it also happens after saving.

avatar Fedik
Fedik - comment - 19 Dec 2022

hmhm, It worked in j3?

Add a Comment

Login with GitHub to post a comment