Onclick JavaScript event in rich text input

GOAL: When a user clicks a string in a rich text input, delimited by “{” “}” a workflow should be triggered.

I know this is possible to do in normal text strings by doing the following:

<span onclick="bubble_fn_LoginText();">
{Log in}</span> to use this application.

And then using the toolbox plugin to run a workflow. But this does not work in a rich text input.

Anyone has any clue on how to make it run?
Editor for the functionality above:

This topic was automatically closed after 70 days. New replies are no longer allowed.