ajax for editor finished