User tests: Successful: Unsuccessful:
Pull Request resolves # .
Currently the media manager is completely separated from the TinyMCE editor. Means, when using the TinyMCE image or media button, it's not connected to the Joomla! media manager. This PR injects the media manager.
Not connected to media manager
Both buttons are connected to media manager
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Front End Plugins |
That's really nice, I'm not sure about the architecture, it's really limited to only one picker which might not be the reality when you might have many different types of editors.
Would it be possible to attach a picker "name/alias" to the configuration of the editor?
And/Or allow to register multiple pickers with a registry or factory or so?
BRILLIANT!!! thanks so much for this!!!
Would it be possible to attach a picker "name/alias" to the configuration of the editor?
And/Or allow to register multiple pickers with a registry or factory or so?
TinyMCE allows only one picker per type (image/media) but you can register your picker. So the user disables the media manager editor button and you ship your plugin with using the hook, then your manager is there.
Would it be possible to attach a picker "name/alias" to the configuration of the editor?
And/Or allow to register multiple pickers with a registry or factory or so?TinyMCE allows only one picker per type (image/media) but you can register your picker. So the user disables the media manager editor button and you ship your plugin with using the hook, then your manager is there.
you missunderstand my concerns, if you have multiple editors on one page which don't need or should not have the same media picker that's seems not to be possible. For this case it would better to have a registry or alternative a call back in the tinymce configuration provided by the joomla.options array:
Where do we have multiple editors on the same page? The duplicated editor on the guided your pages has now been removed. And even if you do thhen do they really have dfferent configuration
Where do we have multiple editors on the same page? The duplicated editor on the guided tour pages has now been removed. And even if you do thhen do they really have dfferent configuration
I have extensions with multiple (10 or more) different text editors having different configurations for different purposes. If we introduce something new it should also be future proof, many things in joomla are really limited because the implementor only tought about his or her use case. That's the reason joomla is not really great for developer because it's put stones in your way you have to ship arround.
btw. you can have unlimited custom fields with editors. you even can have different editors.
It appears to work perfectly but I have a 404 in the browser console after adding an image
banner.jpg:1 GET https://tiny.test/administrator/images/banners/banner.jpg 404 (Not Found)
Image
X @ plugin.min.js:1
ge @ plugin.min.js:1
he @ plugin.min.js:1
(anonymous) @ plugin.min.js:1
fe @ plugin.min.js:1
Ae @ plugin.min.js:1
(anonymous) @ plugin.min.js:1
(anonymous) @ tinymce.min.js?dbb8f8:12
ignore @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
ignore @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
transact @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
transact @ tinymce.min.js?dbb8f8:12
(anonymous) @ plugin.min.js:1
addCommand.commands.exec.<computed> @ tinymce.min.js?dbb8f8:12
execCommand @ tinymce.min.js?dbb8f8:12
execCommand @ tinymce.min.js?dbb8f8:12
(anonymous) @ plugin.min.js:1
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:3
each @ theme.min.js:1
s @ theme.min.js:3
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
Vc @ theme.min.js:1
Rc @ theme.min.js:1
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
V @ theme.min.js:1
run @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
Vc @ theme.min.js:1
Rc @ theme.min.js:1
zc @ theme.min.js:1
e @ theme.min.js:1
(anonymous) @ theme.min.js:1
V @ theme.min.js:1
run @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
It appears to work perfectly but I have a 404 in the browser console after adding an image and before saving
banner.jpg:1 GET https://tiny.test/administrator/images/banners/banner.jpg 404 (Not Found)
Image
X @ plugin.min.js:1
ge @ plugin.min.js:1
he @ plugin.min.js:1
(anonymous) @ plugin.min.js:1
fe @ plugin.min.js:1
Ae @ plugin.min.js:1
(anonymous) @ plugin.min.js:1
(anonymous) @ tinymce.min.js?dbb8f8:12
ignore @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
ignore @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
transact @ tinymce.min.js?dbb8f8:12
(anonymous) @ tinymce.min.js?dbb8f8:12
transact @ tinymce.min.js?dbb8f8:12
(anonymous) @ plugin.min.js:1
addCommand.commands.exec.<computed> @ tinymce.min.js?dbb8f8:12
execCommand @ tinymce.min.js?dbb8f8:12
execCommand @ tinymce.min.js?dbb8f8:12
(anonymous) @ plugin.min.js:1
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:3
each @ theme.min.js:1
s @ theme.min.js:3
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
Vc @ theme.min.js:1
Rc @ theme.min.js:1
(anonymous) @ theme.min.js:3
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
V @ theme.min.js:1
run @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
Vc @ theme.min.js:1
Rc @ theme.min.js:1
zc @ theme.min.js:1
e @ theme.min.js:1
(anonymous) @ theme.min.js:1
V @ theme.min.js:1
run @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
fold @ theme.min.js:1
wv @ theme.min.js:1
Sv @ theme.min.js:1
Cv @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
ci @ theme.min.js:1
triggerEvent @ theme.min.js:1
(anonymous) @ theme.min.js:1
(anonymous) @ theme.min.js:1
I'll implement Haralds suggestion probably over the weekend, I also have an idea about the error. Will check it, too.
ok - thanks - its a massive improvement being able to do this.
It appears to work perfectly but I have a 404 in the browser console after adding an image and before saving
I checked this error and the problem is, that the path is not calculated correctly for the file. But this is also the case when you select a picture in Joomla without this PR. So I would need to investigate where this is coming from, but not in this PR.
It appears to work perfectly but I have a 404 in the browser console after adding an image and before saving
I checked this error and the problem is, that the path is not calculated correctly for the file. But this is also the case when you select a picture in Joomla without this PR. So I would need to investigate where this is coming from, but not in this PR.
never spotted it before but i confirm its not related to this PR
| Labels |
Added:
Feature
NPM Resource Changed
PR-6.2-dev
|
||
I have tested this item ✅ successfully on 022130f
Tested backend and frontend with different permissions.
I have tested this item ✅ successfully on 022130f
Tested backend and frontend with different permissions.
I have tested this item ✅ successfully on 022130f
tested images and media
I have tested this item ✅ successfully on 022130f
tested images and media
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
| Labels |
Added:
RTC
Removed: NPM Resource Changed |
||
I have tested this item ✅ successfully on bfadfda
I have tested this item ✅ successfully on bfadfda
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-07-21 08:58:05 |
| Closed_By | ⇒ | MacJoom |
Thank you very much!
That's really nice, I'm not sure about the architecture, it's really limited to only one picker which might not be the reality when you might have many different types of editors.
Would it be possible to attach a picker "name/alias" to the configuration of the editor?