Thanks! Let me explain a little more:
We actually don't want to do anything with the iframe, but because of the way the CMS works, when a user is entering content it might get wrapped within a <p> tag. There will be ways to tidy it up, ideally we'd want to ensure the iframe isn't wrapped around whatever selector we're targeting SplitText to manipulate. But mistakes can happen within a CMS environment.
Creating a work around in our script, but I just wanted to check if there's any config options or best practices around it? Of course not wrapping the <iframe> in the <p>.