basic usage of cleditor