I'm currently working on a LMS built with Learndash and Wordpress.
The rich text editor is enabled on question textareas but not on answer textareas.
I am grateful if anyone can help me.
Thanks,
`$settings = array( 'tinymce' => array( 'theme' => 'modern', 'plugins' => 'print preview fullpage powerpaste searchreplace autolink directionality advcode visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists textcolor wordcount tinymcespellchecker a11ychecker imagetools mediaembed linkchecker contextmenu colorpicker textpattern help', 'toolbar1' => 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat | code', 'image_advtab' => true, 'templates' => array( array( 'title' => 'Test template 1', 'content' => 'Test 1' ), array( 'title' => 'Test template 2', 'content' => 'Test 2' ) ), 'content_css' => array( '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i', '//www.tinymce.com/css/codepen.min.css' ) ) );
wp_editor( $content, $editor_id, $settings );`