I can't add content to pages unit in CoursePress

I am able to add units and pages to a course in CoursePress plugin.

But whenever I add content to the pages and save, the pages reload with empty content…

Saying that no content was added to this page.

I also see some JavaScript errors in the console.

How do I fix this? The course displays but there is not content for the student to read.