Skip to content

Instantly share code, notes, and snippets.

@exside exside/introRTE forked from christianseel/introRTE
Created Aug 28, 2014

Embed
What would you like to do?
<?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>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.