Home › Forums › Quform WordPress › Quform v2 wp_editor not working as expected
Following the available Documentation, I get the WP visual editor at the top of the page rather than taking over the desired text area.
add_action(‘quform_pre_display_4’, function (Quform_Form $form) {
$content = ”; $editor_id = ‘quform_4_5’; // also tried just 4_5 as an ID –
wp_editor( $content, $editor_id );
What I also see is an appended random string to the unique id, how is this suppose to work?
HTML ID attribute value for the textarea and TinyMCE. Can only be /[a-z]+/
Ok how to update the unique ID?
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Cool beans and thank you! I will test and let you know –
What I did to get mine to work was a little jQuery –
$( “.quform-input-3_21” ).replaceWith( $( “#wp-quform_3_21-wrap” ) );
So it’s basically moving the Editor where i want.