You will also need to incorporate another technique I use to target content in a rich text element. What you want to do is very custom but if you work from both techniques I share you can create an approach that could work for you.
If you are trying to add tooltips to Rich Text content you would need to use the custom code feature available in that element. As long as any element has the tooltip class you selected, and the title of that element will be shown.