I have been searching everywhere. I thinks it’s possible cannot recall where.
1 Like
Not sure what you mean by “call an existing tag”…what are you trying to accomplish?
Hi. What I mean is can I call a tag like [[time]], [[line]] into a script like alert([[time]]);
You can obtain a string in which tag references are expanded to the value of each tag by writing something like:
const str = draft.processTemplate(' on [[time]] and in [[line]] ');
alert(str);
Thank you. This helps