CoreFiles by mySites.guru
plugin.min.js4 lines, 1,071 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
38b21534655436c452eb94cf354020f7
sha1
775395293ad0b8fa74ee508ed1a0e80af51db2c4
sha256
0690e7b5e4b33b26a3ea8b5281a5972ca4bdbd092d526d5b4d97b8adc9631499
/**
 * @copyright  (C) 2026 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(function(){const t="system-readmore";tinymce.PluginManager.add("readmore",e=>{const o=()=>e.dom.get(t)!==null,a=()=>{o()||e.insertContent(`<hr id="${t}" />`)},r=d=>{const n=()=>{d.setEnabled(e.selection.isEditable()&&!o())};return e.on("NodeChange",n),n(),()=>{e.off("NodeChange",n)}};return e.addCommand("mceReadMore",a),e.ui.registry.addIcon("readmore",'<svg width="24px" height="24px"><path d="M6.857 9.429V1.714h15.429v7.714h-1.257V2.971H8.171v6.457H6.857Zm15.429 3.886v9.143H6.857v-9.143h1.257v7.714h12.857v-7.714zM12 10.286h2.571V12H12zm-3.886 0h2.571V12H8.114zm7.714 0h2.571V12h-2.571zm3.886 0h2.571V12h-2.571zM1.714 7.486l3.886 3.886-3.886 3.886z"/></svg>'),e.ui.registry.addButton("readmore",{title:"Read More",icon:"readmore",tooltip:Joomla.Text._("PLG_TINY_TOOLBAR_BUTTON_READMORE"),onAction:a,onSetup:r}),{getMetadata(){return{name:"Readmore Plugin (Joomla)",url:"https://www.joomla.org"}}}})})();

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