Answer the question
In order to leave comments, you need to log in
How to enable HTML editor for MODX textbox when creating resource?
Good afternoon. How can a resource set a text editor as active by default?
Version MODX Revolution 2.6.5-pl
$modx->regClientStartupHTMLBlock('<script>Ext.onReady(function() {
if(MODx.loadRTE) MODx.loadRTE("modx-resource-description");});</script>');
Answer the question
In order to leave comments, you need to log in
If the resource has a "Use HTML editor" checkbox and the value of the which_editor system variable is non-empty and an editor is selected here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question