Module facilitating the quick creation or modification of documents.

edit_server(id, filtered, course_data, tree, course_paths, doctype)

Arguments

id

Character. ID of the module to connect the user interface to the appropriate server side.

filtered

Reactive. List of pre-selected documents.

course_data

Reactive. Function containing all the course data loaded with the course.

tree

Reactive. Function containing a list of documents as a classification tree compatible with jsTreeR

course_paths

Reactive. Function containing a list of paths to the different folders and databases on local disk.

doctype

Character. Whether the document is a "Note", "Page", "Slide", "Video", "Game", "Case" , or question

Value

Save the new or modified page in the folder "2_documents/main_language/".

Author

Nicolas Mangin