"Copy TEI-Header to Clipboard" REPLACES teiHeader in document [was #21742]
within the metadata editor a click on "Copy TEI Header" (info: "Copy TEI Header to Clipboard"!) the TEI Header of the document will be replaced by a teiHeader generated from TextGrid metadata, when the document is open in the xml editor.
the function works as expected, when the document is not open.
reproduce:
1. create a TEI doc
2. open it in xml editor, edit the teiHeader
3. open the metadata editor for the same doc
4. click on "Copy TEI Header".