Adding TinyMCE to a CalderaForms textfield
-
I guess it should be possible to add a tinyMCE editor to a form.
I tried to put something like this into the (child) themes function:
if ( !function_exists( 'hpabc_add_tinyMCE' ) ): function hpabc_add_tinyMCE() { do_action('caldera_forms_render_end', $form); { wp_editor( '', 'fld_8368792' ); } } endif; add_action( 'caldera_forms_render_end', 'hpabc_add_tinyMCE' );
I might be close but yet totally wrong.
Any hints on which would be the right action hook, what has to go into the $form variable (the the form config array – I have no idea what this is) and what’s the correct syntax to call wp_editor like this, would be very much appreciated.
Do I even need to create a function or can I just call do_action()….
I’m in much too deep water now, but want to find it out.
- The topic ‘Adding TinyMCE to a CalderaForms textfield’ is closed to new replies.