Created
February 23, 2017 19:52
-
-
Save morelmm/e6d43e95ab42f25c7b0586f1cc26bc91 to your computer and use it in GitHub Desktop.
Modx introtext RTE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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