Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active March 19, 2020 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/6c611537742e4a6f9d99826e727f2e7b to your computer and use it in GitHub Desktop.
Save bjoerntx/6c611537742e4a6f9d99826e727f2e7b to your computer and use it in GitHub Desktop.
TXTextControl.subTextParts.forEach(function(subTextPart) {
subTextPart.getName(function(name) {
var mergeBlockName;
if (name.startsWith("txmb_")) {
mergeBlockName = name.substring(5, name.length);
console.log(mergeBlockName);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment