The TinyMCE editor does not occupy the width that is available to it.
The editor is not flexible, if the window size is reduced the user loses access to icons.
Pressing the toggle editor button is moving the toggle editor button the empty space to the right of the editor.
6.1
after clicking on toggle editor, the toggle editor button also moves.
Joomla Version 6.1.1-dev
PHP 8.5
Arc Browser ( Chromium Based )
Apache Server ( via FlyEnv )
MariaDB 12.1.2
A simple fix works i.e setting default width to 100% instead of an empty string.
Would be happy to make that PR, But a similar fix was refused previously.
| Labels |
Added:
No Code Attached Yet
bug
|
||
@brianteeman
strange, i can replicate it in two different installations ( both on 6.1 dev branch ).
I cannot reproduce the bug (chrome and firefox) .
I cannot reproduce the bug (chrome and firefox) , win11, php 8.5
@adarshdubey03 @chmst
do you guys use a template that is not the default ( i use the default template for administrator - atum ).
The template might be overriding the width to 100% maybe?
I did some testing and figured out why we are getting split results on reproducing this.
So i first tested using a fresh Joomla nightly build(Joomla_6.1.1-dev-Development-Full_Package) and the bug wasn't there.
Then, I went back to my old local codebase where I was able to replicate the bug, but I connected it to a brand-new database. The bug disappeared there too.
This means the issue is tied to the database/configurations and not templaee overrides. It's most likely related to some previous setup or configuration that Hitesh and I have on our older local environments that triggers the editor to behave this way. (we gotta find that if this is True )
Hope it helps.
@krishnagandhicode if you remember there were several PR for tinymce width. your db probably dates from then.
@krishnagandhicode amazing find! and i I've confirmed that your intuition is right.
In #46438, the html_width param in plg_editors_tinymce row was changed to 100% for new installations but on my installation ( database ) it was still 750px.
After updating the value to 100% manually the bug is gone.
But, i do not see a migration update script in that PR, I need to see if it was done in a different PR and figure out why our installations missed it.
@krishnagandhicode amazing find! and i I've confirmed that your intuition is right.
In #46438, the html_width param in plg_editors_tinymce row was changed to 100% for new installations but on my installation ( database ) it was still 750px.
After updating the value to 100% manually the bug is gone.
But, i do not see a migration update script in that PR, I need to see if it was done in a different PR and figure out why our installations missed it.
Edit: found the update script in PR #47326
@krishnagandhicode amazing find! and i I've confirmed that your intuition is right.
In #46438, the html_width param in plg_editors_tinymce row was changed to 100% for new installations but on my installation ( database ) it was still 750px.
After updating the value to 100% manually the bug is gone.
But, i do not see a migration update script in that PR, I need to see if it was done in a different PR and figure out why our installations missed it.
Edit: found the update script in PR #47326 ( which didn't run for some reason )
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-04-25 20:18:12 |
| Closed_By | ⇒ | hiteshm0 |
Thank You Everyone.
I closed it as most people couldn't replicate and the root cause was identified ( for people who could replicate )
can not replicate the reported bug