Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Add RTE for introtext if richtext option is enabled for the resource
- // check "OnDocFormRender" event
- $modx->regClientStartupHTMLBlock('<script>Ext.onReady(function() {
- if(MODx.loadRTE) MODx.loadRTE("modx-resource-introtext");
- });</script>');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement