Page 1 of 1

Tiny MCE Editor in Test feedback management not saving

Posted: Sun Aug 09, 2015 9:30 pm
by rickjohns
Hi, using Formal LMS version 1.4.1 and set to use "tinymce" in the configuration settings :

It all works fine if you add (for example) a new HTML page you can edit the text and set h1, colours etc. and save it and it views properly.

However if you want to format the "Feedback Management" of a test it will not save (you can still format everything as above but when you save it , it reverts to standard text).

Anyone else had this problem?

Rick

Re: Tiny MCE Editor in Test feedback management not saving

Posted: Mon Aug 10, 2015 11:51 am
by jasmines
See in appLms/lib/lib.assessment_rule.php ,

Code: Select all

public function save () {
...
		$feedback_txt =Get::pReq('feedback_txt', DOTY_STRING, '');
Change to:

Code: Select all

		$feedback_txt =Get::pReq('feedback_txt', DOTY_MIXED, '');

Re: Tiny MCE Editor in Test feedback management not saving

Posted: Mon Aug 10, 2015 5:58 pm
by rickjohns
Jasmine, thanks a lot. Works perfectly.

Re: Tiny MCE Editor in Test feedback management not saving

Posted: Mon Aug 17, 2015 4:38 pm
by canelli
Thanks jasmine
I will insert the correction in the bug tracker