Create one editor component per document