Main is docEditor