This code gets the current value of the "Quelltext" propertie:
If the current text is "Reddit Place" it only returns:
Is there any way how I can edit the text of an textlayer? Or is this impossible?
I´ll ask them.
That suggests that you're attempting to access the source text of a .mogrt created in PPro. The API was created to support modifying .mogrts created in AE.
Confirming: If you use the PProPanel sample code to import the .mogrt from the /PProPanel/payloads directory, it works correctly, yes?
As far as I know is an buildin Text Layer is no mogrt made in PPro. So I don´t have an .mogrt file to test it.
Ahh. The API was intended for use with AE-created .mogrts.
So if I understand correctly, is there no way at all to edit the text of a PPro text layer with the API?
As long as the source of that text was an AE .mogrt, it is very much possible to edit source text, and many shipping panels do so.