3.6 getText

D2Editor:getText()

Returns the contents of the text editor as a UTF-8 encoded string.

Introduced in platform.apiLevel = '1.0'