Integrating TinyMCE-Templates on pod pages
-
I am trying to integrate the template feature of TinyMCE-Templates which I have working perfectly in wp-admin pods.. however when I push a TinyMCE field out to a pod Page it will not spit out the proper JavaScript and just prints out the basic TinyMCE JavaScript.
How do I get pods to override the existing code output with the new JavaScript like it does from with in the editor? Does it have something to do with this code in pods/classes/fields/wysiwyg.php:
if ( 'tinymce' == pods_var( 'wysiwyg_editor', $options ) ) $field_type = 'tinymce'; elseif ( 'cleditor' == pods_var( 'wysiwyg_editor', $options ) ) $field_type = 'cleditor'; else { // Support custom WYSIWYG integration do_action( 'pods_form_ui_field_wysiwyg_' . pods_var( 'wysiwyg_editor', $options ), $name, $value, $options, $pod, $id ); do_action( 'pods_form_ui_field_wysiwyg', pods_var( 'wysiwyg_editor', $options ), $name, $value, $options, $pod, $id ); return; }
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Integrating TinyMCE-Templates on pod pages’ is closed to new replies.