No Code Attached Yet bug
avatar korenevskiy
korenevskiy
21 Jan 2026

After upgrading to the latest version of joomla 5, this problem appeared, but after updating joomla 6, the software problem also persisted. Even after upgrading to Joomla 6 Alfa, the problem still remained.

I have disabled all Editor-xtd plugins, but the problem still remains. All extensions are also updated. But they do not have the functions to embed something in the editor.

2026-01-21.15-40-45.mp4

Updated: The solution from @brianteeman

I made a hotfix available for you tio use NOW https://github.com/brianteeman/tinymce-firefoxfix/releases

avatar korenevskiy korenevskiy - open - 21 Jan 2026
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Jan 2026
avatar korenevskiy korenevskiy - change - 21 Jan 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 21 Jan 2026
avatar brianteeman
brianteeman - comment - 21 Jan 2026

Unable to replicate this in any version or branch

avatar OctavianC
OctavianC - comment - 21 Jan 2026

Can replicate this with Firefox Developer Edition only

avatar OctavianC
OctavianC - comment - 21 Jan 2026

It dates back to Joomla! 4 so this must be something to do with the browser itself as I haven't noticed it until now.

You can't type into the editor as it's constantly refreshing and losing focus; it seems the browser is initialized in a loop, as it requests editor.css and content.css indefinitely

Image
avatar Fedik
Fedik - comment - 21 Jan 2026

@OctavianC can you please try to comment one of these. First only load listener and then only PostRender

ed.on('load', () => {
isReady = true;
if (isRendered) {
listenIframeReload();
}
});
ed.on('PostRender', () => {
isRendered = true;
if (isReady) {
listenIframeReload();
}
});

And check whether it have an effect.

avatar korenevskiy
korenevskiy - comment - 21 Jan 2026

@OctavianC can you please try to comment one of these. First only load listener and then only PostRender

I don't have this file. It's currently running Joomla 6.1 Alfa, the latest. There are files in this folder

tinymce-builder.js
tinymce-builder.min.js
tinymce.js
tinymce.min.js

But the DOM tree change happens in the file
media/vendor/tinymce/themes/silver/theme.js : 2049 and 2145

        `v.dom.insertBefore(element.dom, marker.dom);`
        `dom.parentNode.removeChild(dom);`

these 2 methods are constantly called in sequence.

avatar OctavianC
OctavianC - comment - 21 Jan 2026

@Fedik commenting either one of them solves the issue. I've also also left them both commented and the editor works fine

avatar korenevskiy
korenevskiy - comment - 21 Jan 2026

@Fedik commenting either one of them solves the issue. I've also also left them both commented and the editor works fine

You're right, I looked at another browser (Yandex(Chromium)).
Everything is working perfectly.
The reboot takes place in Firefox Developer. Of course, it has several extensions installed. But I started the editor in private mode (without extensions), the reboot also happens all the time.

The reboot also happens on other sites in Firefox Developer.
Please check in this browser.

My version Firfox Developer 148 in Vanilla OS(Linux )

avatar Fedik
Fedik - comment - 26 Jan 2026

commenting either one of them solves the issue. I've also also left them both commented and the editor works fine

Can you please try to check which exactly of these event cause this behavior? Maybe we can remove one.
The reason there is two because different behavior in browsers. And use of 2 events is a way to render the editor earlier as possible.

Currently the order is:
Chrome:

load
PostRender

Firefox:

PostRender
load
avatar OctavianC
OctavianC - comment - 26 Jan 2026

Perhaps my message wasn't clear enough:

  • Commenting ed.on('load') solves the issue
  • Commenting ed.on('PostRender') solves the issue
  • Commenting both ed.on('load') and ed.on('PostRender') solves the issue

I've also added a console.log() to see in which order they run:

Results on Firefox Developer shows load and PostRender in a loop:

Image

Results on Firefox shows PostRender and then load:

Image
avatar Fedik
Fedik - comment - 26 Jan 2026

Thanks. It is confusing. Maybe bug in Firefox.
And for following code which messages shows up?

    ed.on('load', () => {
        isReady = true;
        if (isRendered) {
          console.log('load');
          listenIframeReload();
        }
      });
      ed.on('PostRender', () => {
        isRendered = true;
        if (isReady) {
          console.log('PostRender');
          listenIframeReload();
        }
      });
avatar OctavianC
OctavianC - comment - 26 Jan 2026

Just PostRender shows up in a loop

Image Image
avatar Fedik
Fedik - comment - 26 Jan 2026

Thank you for checking.

avatar brianteeman
brianteeman - comment - 2 Feb 2026

Are we sure that this isnt a tinymce error? Do you get the sane problems when using tinymce examples such as https://www.tiny.cloud/docs/tinymce/latest/full-featured-open-source-demo/

avatar OctavianC
OctavianC - comment - 3 Feb 2026

Doesn't do that on the TinyMCE demo as the code responsible for this issue is located in

// Make sure iframe is fully loaded.
// This works differently in different browsers, so have to listen both "load" and "PostRender" events.
ed.on('load', () => {
isReady = true;
if (isRendered) {
listenIframeReload();
}
});
ed.on('PostRender', () => {
isRendered = true;
if (isReady) {
listenIframeReload();
}
});
}

avatar brianteeman
brianteeman - comment - 3 Feb 2026

thanks for confirming

avatar richard67 richard67 - change - 8 Feb 2026
Labels Added: bug
avatar richard67 richard67 - labeled - 8 Feb 2026
avatar richard67
richard67 - comment - 8 Feb 2026

@korenevskiy We have a pull request (PR) for this issue. Please test #46852 and report back the result there. We will leave this issue open, it will be closed automatically by GitHub when that PR gets merged. Thanks in advance, and thanks for reporting the issue.

avatar richard67
richard67 - comment - 8 Feb 2026

P.S.: Anyone else having participated in this thread here who can reproduce the issue if of course also invited to test that PR.

avatar lachtiantillaise-star
lachtiantillaise-star - comment - 13 Feb 2026

Good code copy on Joomla art media/vendor/tinymce/tinymce.min.js
version 8.1.2 works firefox developper edition

/**

  • TinyMCE version 8.1.2 (TBD)
    */

/**

  • This file bundles the code of
  • DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE
    */
avatar richard67 richard67 - change - 17 Feb 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-02-17 21:26:45
Closed_By richard67
avatar richard67 richard67 - close - 17 Feb 2026
avatar avjoomla
avjoomla - comment - 27 Feb 2026

It seems, that Firefox has release verison 148 yesterday as stable version.
And with it, the described behavior of the tinymce (constant reload with no possibility to enter anything) is now the standard behavior of the editor of a Joomla Website on Firefox.

I think you might want to reopen this isse and fix the problem.
Commenting the on load listener does not stop the flickering.
Commenting the on PostRender listener does stop the flickering.
Problem exists an Joomla 5.4.3 as well as on 6.0.3.
Regards,
Aicha

avatar richard67
richard67 - comment - 27 Feb 2026

It seems, that Firefox has release verison 148 yesterday as stable version. And with it, the described behavior of the tinymce (constant reload with no possibility to enter anything) is now the standard behavior of the editor of a Joomla Website on Firefox.

I think you might want to reopen this isse and fix the problem. Commenting the on load listener does not stop the flickering. Commenting the on PostRender listener does stop the flickering. Problem exists an Joomla 5.4.3 as well as on 6.0.3. Regards, Aicha

@avjoomla If you scroll a bit up you will see that this issue has been solved with PR #46889 , so there is no need to re-open it.

avatar avjoomla
avjoomla - comment - 27 Feb 2026

Okay, thanks, I overllooked that.
With which Joomla Version will these changes be released?
Because with 5.4.3 and 6.0.3 the issue is not fixed and it is really very annoying.

avatar brianteeman
brianteeman - comment - 27 Feb 2026

in the next release BUT i made a hotfix available for you tio use NOW https://github.com/brianteeman/tinymce-firefoxfix/releases

avatar avjoomla
avjoomla - comment - 27 Feb 2026

Thanks a lot.
That fixes the problem.
Regards,
Aicha

avatar st-anton
st-anton - comment - 28 Feb 2026

The hotfix for 5.4.3 does work properly.

The hotfix for 6.0.3 does NOT work. TinyMCE still reboots. This also appears if I hotfix the J5 files into J6 (i.e. the 'wrong' hotfix). So for the moment, there is no fix available for J6.

Firefox 148.0 release

avatar brianteeman
brianteeman - comment - 28 Feb 2026

It absolutely does work!

avatar brianteeman
brianteeman - comment - 28 Feb 2026

"If after replacing the two files and clearing the browser cache you still have problems then your site is using the gzipped version of the javascript which is NOT included in the update. You should delete the file media/plg_editors/js/tinymce.min.js.gz to ensure that the correct hotfix files are being used by your site"

avatar st-anton
st-anton - comment - 28 Feb 2026

Thanks for explanation and support!
After deleting the zipped file, the hotfix does work.

avatar korenevskiy korenevskiy - change - 1 Mar 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 1 Mar 2026
avatar korenevskiy korenevskiy - change - 1 Mar 2026
The description was changed
avatar korenevskiy korenevskiy - edited - 1 Mar 2026

Add a Comment

Login with GitHub to post a comment