Pinegrow Community Support Forum

Is it possible to add wordpress smart actions to SVG? (both static and animated)


#1

I’ve been experimenting with SVG lately and I was wondering whether it is possible to add the smart actions of the pinegrow wordpress plugin to elements inside the SVG (such as a text or circle elements for instance) or alternatively, whether it is possible to add html elements inside an SVG and then add the worpdress smart actions to those elements. In regards to the latter, I heard something about so called “foreignObjects” but I’m not really sure how that is supposed to work.

Also, if this can be done to static SVG, would it also be possible to add them to SVG animation (and thus have the smart action element inside the SVG be animated with it).

I know, it’s a complicated and also rather unusual question. But if this would be possible and you could give me some tips I can see endless possibilities.