Why is this returning the codemirror text (from metadata-edit-tab)?