CoreFiles by mySites.guru
plugin.min.js4 lines, 774 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
42595c99da740c0a0909b757dea07821
sha1
69fc200a7c8b901c0db9bb29d77bd281606866c0
sha256
a9d06f27de3fa80e14e034ed0823bfa7de06323ccd98e78dbe82e11ee2c1b95d
/**
 * @copyright  (C) 2026 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */window.tinymce.PluginManager.add("jfilepicker",e=>{const t=Joomla.editorFilePickers||{},n=[...new Set([...Object.keys(t).filter(l=>typeof t[l]=="function"),...Object.keys(t[e.id]||{})])];return!n.length||e.options.isSet("file_picker_callback")?{}:(e.options.isSet("file_picker_types")||e.options.set("file_picker_types",n.join(" ")),e.options.set("file_picker_callback",(l,s,c)=>{const o=Joomla.editorFilePickers||{},p=(o[e.id]||{})[c.filetype]||o[c.filetype];p&&p(c).then(i=>{i&&i.url&&l(i.url,{alt:i.alt||"",text:i.text||""})})}),{getMetadata:()=>({name:"Joomla file picker",url:"https://www.joomla.org/"})})});

The same content is in 10 releases, Joomla 6.2.0-alpha3 to 6.3.0-alpha1. See them all, or every version of this file.