document editor with inline drawing