phpckeditormoodlequickform

Moodle - CkEditor is not coming for dynamically created courses


I am new to Moodle, I have been developing a learning management system from past couple of weeks, which includes direct tweaks in the core code of moodle.

I have set of courses which has to be created from the backend of MySQL. When I am trying to create a course from MySQL (Not Website), then while editing the course, ckeditor doesn't come. It is a plain TextArea with an additional dropdown.

I am not able to understand, why is it coming like that? I have populated all proper data in the table. Is there something else which has to be done apart from just populating summary field in mdl_course table.?

Thank you.


Solution

  • First ... is the "text editor" option in your profile correctly set to atto or ckeditor?

    Then, I wonder which field or page on which you want to see an html text editor show up. I'm thinking you are looking at the "summary" field. If so, make sure the "summaryformat" column is set to 1. While 0 is for "Moodle format", 1 stands for "HTML format".

    Hopefully, this helps!