is there a way to load the RTE javascript in a module for the cpanel?
I have tried the following, but keep getting an error when refreshing the page:
ee()->load->library(array('javascript', 'rte_lib'));
ee()->javascript->output(
ee()->rte_lib->build_js(0, '.WysiHat-field', NULL, TRUE)
);
error:
Unable to load the requested class: rte_lib
any ideas?
thanks in advance.