[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_content/js/ -> admin-article-readmore.min.js (source)

   1  (()=>{const e=window.Joomla.getOptions("xtd-readmore");window.insertReadmore=r=>{if(!e)throw new Error("XTD Button 'read more' not properly initialized");const o=window.Joomla.editors.instances[r].getValue();if(o){if(!o||o.match(/<hr\s+id=("|')system-readmore("|')\s*\/*>/i))return alert(e.exists),!1;Joomla.editors.instances[r].replaceSelection('<hr id="system-readmore">')}else Joomla.editors.instances[r].replaceSelection('<hr id="system-readmore">');return!0}})();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer