Google Summer of Code is finishing and many things have been done on WikiToLearn since previous post. A little recap is needed.
Talking with mentors has been crucial because they told me to focus on finishing CRUD interaction with API backend instead of working on “history mode” viewer.
On the CRUD part, users now have full control of courses and chapters, they can:
- Edit courses title
- Add new empty chapters to a course
- Reorder course chapters
- Edit chapters title
- Add new empty page to a chapter
- Reorder chapters pages
- [WIP] Write content of a page
Chapter editor have the same UI of course’s one because you can do similar actions in both of them. Here you can see a real web app screenshot of it

Now there is some important work to do: let users write organized content in a useful and easy manner.
They need an editor that lets them insert:
- Math formulas (with real-time compiling and rendering)
- Theorems and demonstrations
- Images
For these tasks we make use of CKEditor (now at the 5th version, compatible with our build system), we have to create/use existing plugins to let users write beautiful content ready to be read.
The difficult part is that this information needs to be structured to be easily saved and reused. I read most of CKEditor docs and I integrated it in our webapp, I prepared a local repo for it because we need to plugin some custom modules for make it working with math, images and with our data structure and we have to lock-down some features we don’t use. It is a bit difficult to know which part has to be touched in order to make it working but I am on the way because I understood CKEditor fundamentals by reading the docs.
The work on WikiToLearn webapp will continue even after the end of GSoC, I’ll let you know how it goes.